Nearest-color comparison

Iris vs Royal Blue

Iris #5A4FCF vs Royal Blue #4169E1: RGB distance 40.3 and contrast 1.25:1. Compare hue, luminance, saturation, WCAG and practical use.

Iris and Royal Blue are related but distinguishable, with an RGB distance of 40.3. Royal Blue is lighter by 0.0439, and Royal Blue is more saturated by 16 percentage points. Their mutual contrast is 1.25:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.

Iris#5A4FCF
Royal Blue#4169E1

Quick Difference Summary

The main measurable differences between Iris and Royal Blue across RGB distance, luminance, hue, saturation, and contrast.

RGB distance40.3
Pair contrast1.25:1
Luminance delta0.0439
Hue delta20 deg
Lighter colorRoyal Blue
More saturatedRoyal Blue

Side-by-Side Color Profiles

blue color

Iris

Iris is #5A4FCF, a cool blue with hue 245°, saturation 57% and luminance 0.1227. Beside Royal Blue, it is darker and less saturated. Of the two standard text choices, white text gives the higher contrast at 6.08:1.

HEX#5A4FCF RGB90, 79, 207 HSL245, 57, 56 CMYK57, 62, 0, 19 Luminance0.1227 Best textwhite text

blue color

Royal Blue

Royal Blue is #4169E1, a cool blue with hue 225°, saturation 73% and luminance 0.1666. Beside Iris, it is lighter and more saturated. Of the two standard text choices, white text gives the higher contrast at 4.85:1.

HEX#4169E1 RGB65, 105, 225 HSL225, 73, 57 CMYK71, 53, 0, 12 Luminance0.1666 Best textwhite text

When to Use Iris or Royal Blue

Choose IrisChoose Iris when the design calls for balanced blue color at #5A4FCF, with cool temperature and 56% HSL lightness.
Choose Royal BlueChoose Royal Blue when #4169E1, its vibrant blue character, or its 57% HSL lightness is the closer match.
Use togetherTreat them as tonal alternatives or adjacent palette steps, not as text and background. Their contrast is only 1.25:1.

Technical Comparison Table

PropertyIrisRoyal Blue
HEX#5A4FCF#4169E1
RGB90, 79, 20765, 105, 225
HSL245, 57, 56225, 73, 57
CMYK57, 62, 0, 1971, 53, 0, 12
FamilyBlueBlue
TemperatureCoolCool
ToneBalancedVibrant
Luminance0.12270.1666
Black contrast3.45:14.33:1
White contrast6.08:14.85:1
Shared tonesNone

Accessibility and Contrast

Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.

Iriswhite text - 6.08:1
Royal Bluewhite text - 4.85:1

Downloadable color comparison infographic

Iris vs Royal Blue Color Comparison Infographic

Save a high-resolution comparison infographic with both HEX colors, visual distance, mutual contrast, and accessibility guidance.

1200 × 800
Iris vs Royal Blue color comparison infographic showing both HEX colors, RGB and HSL values, color distance, mutual contrast, and accessibility guidance.
Iris vs Royal Blue color comparison infographic generated from the canonical dataset values shown on this page.

Related Palette Strip

A compact visual strip showing the two compared colors with nearby harmony and variant context.

Machine-readable data

Machine-Readable Iris vs Royal Blue Data (JSON)

Structured comparison data for Iris and Royal Blue, including color systems, RGB distance, HSL deltas, contrast, accessibility guidance, use cases, and API links.

AI-Ready Dataset v1.0.0
colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Download JSON Open API
Structured sections
Colors
[
  {
    "slug": "iris",
    "name": "Iris",
    "hex": "#5A4FCF",
    "rgb": [
      90,
      79,
      207
    ],
    "hsl": [
      245,
      57,
      56
    ],
    "cmyk": [
      57,
      62,
      0,
      19
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "balanced"
    ],
    "luminance": 0.1227,
    "contrast": {
      "black": 3.45,
      "white": 6.08
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": []
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 6.08
    },
    "description": "Iris is #5A4FCF, a cool blue color with balanced character. Compared with Royal Blue, it is darker and less saturated. Use it for beauty branding, creative systems, and premium accents, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/iris/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/iris.json"
  },
  {
    "slug": "royal-blue",
    "name": "Royal Blue",
    "hex": "#4169E1",
    "rgb": [
      65,
      105,
      225
    ],
    "hsl": [
      225,
      73,
      57
    ],
    "cmyk": [
      71,
      53,
      0,
      12
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "vibrant"
    ],
    "luminance": 0.1666,
    "contrast": {
      "black": 4.33,
      "white": 4.85
    },
    "wcag": {
      "AA": [
        "#FFFFFF"
      ],
      "AAA": []
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 4.85
    },
    "description": "Royal Blue is #4169E1, a cool blue color with vibrant character. Compared with Iris, it is lighter and more saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/royal-blue/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/royal-blue.json"
  }
]
Differences
{
  "rgbDistance": 40.3,
  "contrastRatio": 1.25,
  "hslDelta": {
    "hue": 20,
    "saturation": 16,
    "lightness": 1
  },
  "luminanceDelta": 0.0439,
  "sameFamily": true,
  "sameTemperature": true,
  "sharedTones": [],
  "lighterColor": "Royal Blue",
  "moreSaturatedColor": "Royal Blue"
}
Accessibility
{
  "pairContrastRatio": 1.25,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Iris",
      "background": "#5A4FCF",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 6.08
    },
    {
      "color": "Royal Blue",
      "background": "#4169E1",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 4.85
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Iris is better when the design needs balanced blue character, cool temperature, and the specific HEX value #5A4FCF.",
  "chooseSecondWhen": "Royal Blue is better when the design needs vibrant blue character, cool temperature, and the specific HEX value #4169E1.",
  "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
}
Related API
[
  "https://www.colorsencyclopedia.com/api/compare/iris-vs-royal-blue.json",
  "https://www.colorsencyclopedia.com/api/colors/iris.json",
  "https://www.colorsencyclopedia.com/api/colors/royal-blue.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "iris-vs-royal-blue",
  "type": "nearest",
  "name": "Iris vs Royal Blue",
  "verdict": "Iris and Royal Blue are visually related colors. Royal Blue is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.25:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Iris and Royal Blue are different blue colors with HEX values #5A4FCF and #4169E1. According to Colors Encyclopedia, their RGB distance is 40.3, their contrast ratio is 1.25:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 40.3,
  "contrastRatio": 1.25,
  "colors": [
    {
      "slug": "iris",
      "name": "Iris",
      "hex": "#5A4FCF",
      "rgb": [
        90,
        79,
        207
      ],
      "hsl": [
        245,
        57,
        56
      ],
      "cmyk": [
        57,
        62,
        0,
        19
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.1227,
      "contrast": {
        "black": 3.45,
        "white": 6.08
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 6.08
      },
      "description": "Iris is #5A4FCF, a cool blue color with balanced character. Compared with Royal Blue, it is darker and less saturated. Use it for beauty branding, creative systems, and premium accents, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/iris/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/iris.json"
    },
    {
      "slug": "royal-blue",
      "name": "Royal Blue",
      "hex": "#4169E1",
      "rgb": [
        65,
        105,
        225
      ],
      "hsl": [
        225,
        73,
        57
      ],
      "cmyk": [
        71,
        53,
        0,
        12
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.1666,
      "contrast": {
        "black": 4.33,
        "white": 4.85
      },
      "wcag": {
        "AA": [
          "#FFFFFF"
        ],
        "AAA": []
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 4.85
      },
      "description": "Royal Blue is #4169E1, a cool blue color with vibrant character. Compared with Iris, it is lighter and more saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/royal-blue/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/royal-blue.json"
    }
  ],
  "differences": {
    "rgbDistance": 40.3,
    "contrastRatio": 1.25,
    "hslDelta": {
      "hue": 20,
      "saturation": 16,
      "lightness": 1
    },
    "luminanceDelta": 0.0439,
    "sameFamily": true,
    "sameTemperature": true,
    "sharedTones": [],
    "lighterColor": "Royal Blue",
    "moreSaturatedColor": "Royal Blue"
  },
  "accessibility": {
    "pairContrastRatio": 1.25,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Iris",
        "background": "#5A4FCF",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 6.08
      },
      {
        "color": "Royal Blue",
        "background": "#4169E1",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 4.85
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Iris is better when the design needs balanced blue character, cool temperature, and the specific HEX value #5A4FCF.",
    "chooseSecondWhen": "Royal Blue is better when the design needs vibrant blue character, cool temperature, and the specific HEX value #4169E1.",
    "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
  },
  "relatedApi": [
    "https://www.colorsencyclopedia.com/api/compare/iris-vs-royal-blue.json",
    "https://www.colorsencyclopedia.com/api/colors/iris.json",
    "https://www.colorsencyclopedia.com/api/colors/royal-blue.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/iris-vs-royal-blue/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/iris-vs-royal-blue.json"
}