Nearest-color comparison

Denim vs Sapphire

Denim #1560BD vs Sapphire #0F52BA: RGB distance 15.5 and contrast 1.17:1. Compare hue, luminance, saturation, WCAG and practical use.

Denim and Sapphire are very close, with an RGB distance of 15.5. Denim is lighter by 0.0252, and Sapphire is more saturated by 5 percentage points. Their mutual contrast is 1.17:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.

Denim#1560BD
Sapphire#0F52BA

Quick Difference Summary

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

RGB distance15.5
Pair contrast1.17:1
Luminance delta0.0252
Hue delta3 deg
Lighter colorDenim
More saturatedSapphire

Side-by-Side Color Profiles

blue color

Denim

Denim is #1560BD, a cool blue with hue 213°, saturation 80% and luminance 0.122. Beside Sapphire, it is lighter and less saturated. Of the two standard text choices, white text gives the higher contrast at 6.1:1.

HEX#1560BD RGB21, 96, 189 HSL213, 80, 41 CMYK89, 49, 0, 26 Luminance0.122 Best textwhite text

blue color

Sapphire

Sapphire is #0F52BA, a cool blue with hue 216°, saturation 85% and luminance 0.0968. Beside Denim, it is darker and more 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 Denim or Sapphire

Choose DenimChoose Denim when the design calls for vibrant and jewel tone blue color at #1560BD, with cool temperature and 41% 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.17:1. They share vibrant and jewel tone tone characteristics.

Technical Comparison Table

PropertyDenimSapphire
HEX#1560BD#0F52BA
RGB21, 96, 18915, 82, 186
HSL213, 80, 41216, 85, 39
CMYK89, 49, 0, 2692, 56, 0, 27
FamilyBlueBlue
TemperatureCoolCool
ToneVibrant, Jewel ToneVibrant, Jewel Tone
Luminance0.1220.0968
Black contrast3.44:12.94:1
White contrast6.1:17.15:1
Shared tonesVibrant, Jewel Tone

Accessibility and Contrast

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

Denimwhite text - 6.1:1
Sapphirewhite text - 7.15:1

Downloadable color comparison infographic

Denim vs Sapphire Color Comparison Infographic

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

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

Structured comparison data for Denim 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": "denim",
    "name": "Denim",
    "hex": "#1560BD",
    "rgb": [
      21,
      96,
      189
    ],
    "hsl": [
      213,
      80,
      41
    ],
    "cmyk": [
      89,
      49,
      0,
      26
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "vibrant",
      "jewel-tone"
    ],
    "luminance": 0.122,
    "contrast": {
      "black": 3.44,
      "white": 6.1
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": []
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 6.1
    },
    "description": "Denim is #1560BD, a cool blue color with vibrant and jewel tone character. Compared with Sapphire, 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/denim/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/denim.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 Denim, 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/sapphire/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
  }
]
Differences
{
  "rgbDistance": 15.5,
  "contrastRatio": 1.17,
  "hslDelta": {
    "hue": 3,
    "saturation": 5,
    "lightness": 2
  },
  "luminanceDelta": 0.0252,
  "sameFamily": true,
  "sameTemperature": true,
  "sharedTones": [
    "vibrant",
    "jewel-tone"
  ],
  "lighterColor": "Denim",
  "moreSaturatedColor": "Sapphire"
}
Accessibility
{
  "pairContrastRatio": 1.17,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Denim",
      "background": "#1560BD",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 6.1
    },
    {
      "color": "Sapphire",
      "background": "#0F52BA",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 7.15
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Denim is better when the design needs vibrant and jewel tone blue character, cool temperature, and the specific HEX value #1560BD.",
  "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/denim-vs-sapphire.json",
  "https://www.colorsencyclopedia.com/api/colors/denim.json",
  "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "denim-vs-sapphire",
  "type": "nearest",
  "name": "Denim vs Sapphire",
  "verdict": "Denim and Sapphire are very close colors. Denim is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.17:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Denim and Sapphire are different blue colors with HEX values #1560BD and #0F52BA. According to Colors Encyclopedia, their RGB distance is 15.5, their contrast ratio is 1.17:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 15.5,
  "contrastRatio": 1.17,
  "colors": [
    {
      "slug": "denim",
      "name": "Denim",
      "hex": "#1560BD",
      "rgb": [
        21,
        96,
        189
      ],
      "hsl": [
        213,
        80,
        41
      ],
      "cmyk": [
        89,
        49,
        0,
        26
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant",
        "jewel-tone"
      ],
      "luminance": 0.122,
      "contrast": {
        "black": 3.44,
        "white": 6.1
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 6.1
      },
      "description": "Denim is #1560BD, a cool blue color with vibrant and jewel tone character. Compared with Sapphire, 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/denim/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/denim.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 Denim, 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/sapphire/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
    }
  ],
  "differences": {
    "rgbDistance": 15.5,
    "contrastRatio": 1.17,
    "hslDelta": {
      "hue": 3,
      "saturation": 5,
      "lightness": 2
    },
    "luminanceDelta": 0.0252,
    "sameFamily": true,
    "sameTemperature": true,
    "sharedTones": [
      "vibrant",
      "jewel-tone"
    ],
    "lighterColor": "Denim",
    "moreSaturatedColor": "Sapphire"
  },
  "accessibility": {
    "pairContrastRatio": 1.17,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Denim",
        "background": "#1560BD",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 6.1
      },
      {
        "color": "Sapphire",
        "background": "#0F52BA",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 7.15
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Denim is better when the design needs vibrant and jewel tone blue character, cool temperature, and the specific HEX value #1560BD.",
    "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/denim-vs-sapphire.json",
    "https://www.colorsencyclopedia.com/api/colors/denim.json",
    "https://www.colorsencyclopedia.com/api/colors/sapphire.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/denim-vs-sapphire/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/denim-vs-sapphire.json"
}