Nearest-color comparison

Ultramarine vs Dark Blue

Ultramarine #120A8F vs Dark Blue #00008B: RGB distance 21 and contrast 1.07:1. Compare hue, luminance, saturation, WCAG and practical use.

Ultramarine and Dark Blue are very close, with an RGB distance of 21. Ultramarine is lighter by 0.0047, and Dark Blue is more saturated by 13 percentage points. Their mutual contrast is 1.07:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.

Ultramarine#120A8F
Dark Blue#00008B

Quick Difference Summary

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

RGB distance21
Pair contrast1.07:1
Luminance delta0.0047
Hue delta4 deg
Lighter colorUltramarine
More saturatedDark Blue

Side-by-Side Color Profiles

blue color

Ultramarine

Ultramarine is #120A8F, a cool blue with hue 244°, saturation 87% and luminance 0.0233. Beside Dark Blue, it is lighter and less saturated. Of the two standard text choices, white text gives the higher contrast at 14.32:1.

HEX#120A8F RGB18, 10, 143 HSL244, 87, 30 CMYK87, 93, 0, 44 Luminance0.0233 Best textwhite text

blue color

Dark Blue

Dark Blue is #00008B, a cool blue with hue 240°, saturation 100% and luminance 0.0186. Beside Ultramarine, it is darker and more saturated. Of the two standard text choices, white text gives the higher contrast at 15.31:1.

HEX#00008B RGB0, 0, 139 HSL240, 100, 27 CMYK100, 100, 0, 45 Luminance0.0186 Best textwhite text

When to Use Ultramarine or Dark Blue

Choose UltramarineChoose Ultramarine when the design calls for jewel tone blue color at #120A8F, with cool temperature and 30% HSL lightness.
Choose Dark BlueChoose Dark Blue when #00008B, its jewel tone blue character, or its 27% 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.07:1. They share jewel tone tone characteristics.

Technical Comparison Table

PropertyUltramarineDark Blue
HEX#120A8F#00008B
RGB18, 10, 1430, 0, 139
HSL244, 87, 30240, 100, 27
CMYK87, 93, 0, 44100, 100, 0, 45
FamilyBlueBlue
TemperatureCoolCool
ToneJewel ToneJewel Tone
Luminance0.02330.0186
Black contrast1.47:11.37:1
White contrast14.32:115.31: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.

Ultramarinewhite text - 14.32:1
Dark Bluewhite text - 15.31:1

Downloadable color comparison infographic

Ultramarine vs Dark Blue Color Comparison Infographic

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

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

Structured comparison data for Ultramarine and Dark 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": "ultramarine",
    "name": "Ultramarine",
    "hex": "#120A8F",
    "rgb": [
      18,
      10,
      143
    ],
    "hsl": [
      244,
      87,
      30
    ],
    "cmyk": [
      87,
      93,
      0,
      44
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "jewel-tone"
    ],
    "luminance": 0.0233,
    "contrast": {
      "black": 1.47,
      "white": 14.32
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 14.32
    },
    "description": "Ultramarine is #120A8F, a cool blue color with jewel tone character. Compared with Dark Blue, it is lighter and less saturated. Use it for historical references, pigment palettes, and cultural color systems, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/ultramarine/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/ultramarine.json"
  },
  {
    "slug": "dark-blue",
    "name": "Dark Blue",
    "hex": "#00008B",
    "rgb": [
      0,
      0,
      139
    ],
    "hsl": [
      240,
      100,
      27
    ],
    "cmyk": [
      100,
      100,
      0,
      45
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "jewel-tone"
    ],
    "luminance": 0.0186,
    "contrast": {
      "black": 1.37,
      "white": 15.31
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 15.31
    },
    "description": "Dark Blue is #00008B, a cool blue color with jewel tone character. Compared with Ultramarine, it is darker 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/dark-blue/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/dark-blue.json"
  }
]
Differences
{
  "rgbDistance": 21,
  "contrastRatio": 1.07,
  "hslDelta": {
    "hue": 4,
    "saturation": 13,
    "lightness": 3
  },
  "luminanceDelta": 0.0047,
  "sameFamily": true,
  "sameTemperature": true,
  "sharedTones": [
    "jewel-tone"
  ],
  "lighterColor": "Ultramarine",
  "moreSaturatedColor": "Dark Blue"
}
Accessibility
{
  "pairContrastRatio": 1.07,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Ultramarine",
      "background": "#120A8F",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 14.32
    },
    {
      "color": "Dark Blue",
      "background": "#00008B",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 15.31
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Ultramarine is better when the design needs jewel tone blue character, cool temperature, and the specific HEX value #120A8F.",
  "chooseSecondWhen": "Dark Blue is better when the design needs jewel tone blue character, cool temperature, and the specific HEX value #00008B.",
  "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/ultramarine-vs-dark-blue.json",
  "https://www.colorsencyclopedia.com/api/colors/ultramarine.json",
  "https://www.colorsencyclopedia.com/api/colors/dark-blue.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "ultramarine-vs-dark-blue",
  "type": "nearest",
  "name": "Ultramarine vs Dark Blue",
  "verdict": "Ultramarine and Dark Blue are very close colors. Ultramarine is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.07:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Ultramarine and Dark Blue are different blue colors with HEX values #120A8F and #00008B. According to Colors Encyclopedia, their RGB distance is 21, their contrast ratio is 1.07:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 21,
  "contrastRatio": 1.07,
  "colors": [
    {
      "slug": "ultramarine",
      "name": "Ultramarine",
      "hex": "#120A8F",
      "rgb": [
        18,
        10,
        143
      ],
      "hsl": [
        244,
        87,
        30
      ],
      "cmyk": [
        87,
        93,
        0,
        44
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0233,
      "contrast": {
        "black": 1.47,
        "white": 14.32
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 14.32
      },
      "description": "Ultramarine is #120A8F, a cool blue color with jewel tone character. Compared with Dark Blue, it is lighter and less saturated. Use it for historical references, pigment palettes, and cultural color systems, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/ultramarine/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/ultramarine.json"
    },
    {
      "slug": "dark-blue",
      "name": "Dark Blue",
      "hex": "#00008B",
      "rgb": [
        0,
        0,
        139
      ],
      "hsl": [
        240,
        100,
        27
      ],
      "cmyk": [
        100,
        100,
        0,
        45
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0186,
      "contrast": {
        "black": 1.37,
        "white": 15.31
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 15.31
      },
      "description": "Dark Blue is #00008B, a cool blue color with jewel tone character. Compared with Ultramarine, it is darker 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/dark-blue/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/dark-blue.json"
    }
  ],
  "differences": {
    "rgbDistance": 21,
    "contrastRatio": 1.07,
    "hslDelta": {
      "hue": 4,
      "saturation": 13,
      "lightness": 3
    },
    "luminanceDelta": 0.0047,
    "sameFamily": true,
    "sameTemperature": true,
    "sharedTones": [
      "jewel-tone"
    ],
    "lighterColor": "Ultramarine",
    "moreSaturatedColor": "Dark Blue"
  },
  "accessibility": {
    "pairContrastRatio": 1.07,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Ultramarine",
        "background": "#120A8F",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 14.32
      },
      {
        "color": "Dark Blue",
        "background": "#00008B",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 15.31
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Ultramarine is better when the design needs jewel tone blue character, cool temperature, and the specific HEX value #120A8F.",
    "chooseSecondWhen": "Dark Blue is better when the design needs jewel tone blue character, cool temperature, and the specific HEX value #00008B.",
    "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/ultramarine-vs-dark-blue.json",
    "https://www.colorsencyclopedia.com/api/colors/ultramarine.json",
    "https://www.colorsencyclopedia.com/api/colors/dark-blue.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/ultramarine-vs-dark-blue/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/ultramarine-vs-dark-blue.json"
}