Nearest-color comparison

Cobalt Blue vs Sapphire

Cobalt Blue #0047AB vs Sapphire #0F52BA: RGB distance 23.9 and contrast 1.18:1. Compare hue, luminance, saturation, WCAG and practical use.

Cobalt Blue and Sapphire are very close, with an RGB distance of 23.9. Sapphire is lighter by 0.0223, and Cobalt Blue is more saturated by 15 percentage points. Their mutual contrast is 1.18:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.

Cobalt Blue#0047AB
Sapphire#0F52BA

Quick Difference Summary

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

RGB distance23.9
Pair contrast1.18:1
Luminance delta0.0223
Hue delta1 deg
Lighter colorSapphire
More saturatedCobalt Blue

Side-by-Side Color Profiles

blue color

Cobalt Blue

Cobalt Blue is #0047AB, a cool blue with hue 215°, saturation 100% and luminance 0.0745. Beside Sapphire, it is darker and more saturated. Of the two standard text choices, white text gives the higher contrast at 8.43:1.

HEX#0047AB RGB0, 71, 171 HSL215, 100, 34 CMYK100, 58, 0, 33 Luminance0.0745 Best textwhite text

blue color

Sapphire

Sapphire is #0F52BA, a cool blue with hue 216°, saturation 85% and luminance 0.0968. Beside Cobalt Blue, it is lighter and less saturated. Of the two standard text choices, white text gives the higher contrast at 7.15:1.

HEX#0F52BA RGB15, 82, 186 HSL216, 85, 39 CMYK92, 56, 0, 27 Luminance0.0968 Best textwhite text

When to Use Cobalt Blue or Sapphire

Choose Cobalt BlueChoose Cobalt Blue when the design calls for jewel tone blue color at #0047AB, with cool temperature and 34% HSL lightness.
Choose SapphireChoose Sapphire when #0F52BA, its vibrant and jewel tone blue character, or its 39% 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.18:1. They share jewel tone tone characteristics.

Technical Comparison Table

PropertyCobalt BlueSapphire
HEX#0047AB#0F52BA
RGB0, 71, 17115, 82, 186
HSL215, 100, 34216, 85, 39
CMYK100, 58, 0, 3392, 56, 0, 27
FamilyBlueBlue
TemperatureCoolCool
ToneJewel ToneVibrant, Jewel Tone
Luminance0.07450.0968
Black contrast2.49:12.94:1
White contrast8.43:17.15:1
Shared tonesJewel Tone

Accessibility and Contrast

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

Cobalt Bluewhite text - 8.43:1
Sapphirewhite text - 7.15:1

Downloadable color comparison infographic

Cobalt Blue vs Sapphire Color Comparison Infographic

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

1200 × 800
Cobalt Blue vs Sapphire color comparison infographic showing both HEX colors, RGB and HSL values, color distance, mutual contrast, and accessibility guidance.
Cobalt Blue vs Sapphire 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 Cobalt Blue vs Sapphire Data (JSON)

Structured comparison data for Cobalt Blue and Sapphire, 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": "cobalt-blue",
    "name": "Cobalt Blue",
    "hex": "#0047AB",
    "rgb": [
      0,
      71,
      171
    ],
    "hsl": [
      215,
      100,
      34
    ],
    "cmyk": [
      100,
      58,
      0,
      33
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "jewel-tone"
    ],
    "luminance": 0.0745,
    "contrast": {
      "black": 2.49,
      "white": 8.43
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 8.43
    },
    "description": "Cobalt Blue is #0047AB, a cool blue color with jewel tone character. Compared with Sapphire, it is darker and more saturated. Use it for interfaces, brand systems, and technical design, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/cobalt-blue/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/cobalt-blue.json"
  },
  {
    "slug": "sapphire",
    "name": "Sapphire",
    "hex": "#0F52BA",
    "rgb": [
      15,
      82,
      186
    ],
    "hsl": [
      216,
      85,
      39
    ],
    "cmyk": [
      92,
      56,
      0,
      27
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "vibrant",
      "jewel-tone"
    ],
    "luminance": 0.0968,
    "contrast": {
      "black": 2.94,
      "white": 7.15
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 7.15
    },
    "description": "Sapphire is #0F52BA, a cool blue color with vibrant and jewel tone character. Compared with Cobalt Blue, it is lighter and less saturated. Use it for interfaces, brand systems, and technical design, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/sapphire/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
  }
]
Differences
{
  "rgbDistance": 23.9,
  "contrastRatio": 1.18,
  "hslDelta": {
    "hue": 1,
    "saturation": 15,
    "lightness": 5
  },
  "luminanceDelta": 0.0223,
  "sameFamily": true,
  "sameTemperature": true,
  "sharedTones": [
    "jewel-tone"
  ],
  "lighterColor": "Sapphire",
  "moreSaturatedColor": "Cobalt Blue"
}
Accessibility
{
  "pairContrastRatio": 1.18,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Cobalt Blue",
      "background": "#0047AB",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 8.43
    },
    {
      "color": "Sapphire",
      "background": "#0F52BA",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 7.15
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Cobalt Blue is better when the design needs jewel tone blue character, cool temperature, and the specific HEX value #0047AB.",
  "chooseSecondWhen": "Sapphire is better when the design needs vibrant and jewel tone blue character, cool temperature, and the specific HEX value #0F52BA.",
  "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/cobalt-blue-vs-sapphire.json",
  "https://www.colorsencyclopedia.com/api/colors/cobalt-blue.json",
  "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "cobalt-blue-vs-sapphire",
  "type": "nearest",
  "name": "Cobalt Blue vs Sapphire",
  "verdict": "Cobalt Blue and Sapphire are very close colors. Sapphire is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.18:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Cobalt Blue and Sapphire are different blue colors with HEX values #0047AB and #0F52BA. According to Colors Encyclopedia, their RGB distance is 23.9, their contrast ratio is 1.18:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 23.9,
  "contrastRatio": 1.18,
  "colors": [
    {
      "slug": "cobalt-blue",
      "name": "Cobalt Blue",
      "hex": "#0047AB",
      "rgb": [
        0,
        71,
        171
      ],
      "hsl": [
        215,
        100,
        34
      ],
      "cmyk": [
        100,
        58,
        0,
        33
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0745,
      "contrast": {
        "black": 2.49,
        "white": 8.43
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 8.43
      },
      "description": "Cobalt Blue is #0047AB, a cool blue color with jewel tone character. Compared with Sapphire, it is darker and more saturated. Use it for interfaces, brand systems, and technical design, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/cobalt-blue/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/cobalt-blue.json"
    },
    {
      "slug": "sapphire",
      "name": "Sapphire",
      "hex": "#0F52BA",
      "rgb": [
        15,
        82,
        186
      ],
      "hsl": [
        216,
        85,
        39
      ],
      "cmyk": [
        92,
        56,
        0,
        27
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant",
        "jewel-tone"
      ],
      "luminance": 0.0968,
      "contrast": {
        "black": 2.94,
        "white": 7.15
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 7.15
      },
      "description": "Sapphire is #0F52BA, a cool blue color with vibrant and jewel tone character. Compared with Cobalt Blue, it is lighter and less saturated. Use it for interfaces, brand systems, and technical design, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/sapphire/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
    }
  ],
  "differences": {
    "rgbDistance": 23.9,
    "contrastRatio": 1.18,
    "hslDelta": {
      "hue": 1,
      "saturation": 15,
      "lightness": 5
    },
    "luminanceDelta": 0.0223,
    "sameFamily": true,
    "sameTemperature": true,
    "sharedTones": [
      "jewel-tone"
    ],
    "lighterColor": "Sapphire",
    "moreSaturatedColor": "Cobalt Blue"
  },
  "accessibility": {
    "pairContrastRatio": 1.18,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Cobalt Blue",
        "background": "#0047AB",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 8.43
      },
      {
        "color": "Sapphire",
        "background": "#0F52BA",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 7.15
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Cobalt Blue is better when the design needs jewel tone blue character, cool temperature, and the specific HEX value #0047AB.",
    "chooseSecondWhen": "Sapphire is better when the design needs vibrant and jewel tone blue character, cool temperature, and the specific HEX value #0F52BA.",
    "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/cobalt-blue-vs-sapphire.json",
    "https://www.colorsencyclopedia.com/api/colors/cobalt-blue.json",
    "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/cobalt-blue-vs-sapphire/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/cobalt-blue-vs-sapphire.json"
}