#0C4875

Closest named color: Twilight Blue (#0A437A). oklch(39% 0.095 247.2), rgb(12, 72, 117).

Aa

White text reads best on this color (9.54:1).

About this color

#0C4875 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.095 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.019 away. White text reads best on it, at 9.54:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.19:1
White text9.54:1

Values

HEX#0C4875
RGBrgb(12, 72, 117)
HSLhsl(206, 81%, 25%)
OKLCHoklch(39% 0.095 247.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0C4875 9.54:1 AAA Lc -96.0 Preferred for body text
Black text on #0C4875 2.19:1 Fails Lc 12.3 Not readable
#0C4875 text on white 9.54:1 AAA Lc 91.7 Preferred for body text
#0C4875 text on black 2.19:1 Fails Lc -10.7 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C5DCF3

    oklch(88.5% 0.04 248.3)

  4. Step 300

    300

    #9CC6ED

    oklch(81% 0.071 246.8)

  5. Step 400

    400

    #62A7E4

    oklch(70.8% 0.114 246.9)

  6. Step 500

    500

    #2C8FDC

    oklch(63.1% 0.146 246.9)

  7. Step 600

    600

    #0078C4

    oklch(55.7% 0.147 247.1)

  8. Step 700

    700

    #0064A5

    oklch(49% 0.13 247.2)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900 (this color)

    #0C4875

    oklch(39% 0.095 247.2)

  11. Step 950

    950

    #082842

    oklch(26.9% 0.061 247.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C4875 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#324A770.034
Deuteranopia (no green cones)#2341740.024
Tritanopia (no blue cones)#0053590.067
Achromatopsia (no color)#4545450.095

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0C4875

    #0C4875

    oklch(39% 0.095 247.2)

  • #633A00

    #633A00

    oklch(38.9% 0.086 66.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4875

    #0C4875

    oklch(39% 0.095 247.2)

  • #004E5D

    #004E5D

    oklch(39.1% 0.07 216.3)

  • #393E77

    #393E77

    oklch(38.9% 0.096 277.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0C4875

    #0C4875

    oklch(39% 0.095 247.2)

  • #6F2F1C

    #6F2F1C

    oklch(39% 0.096 37.2)

  • #514500

    #514500

    oklch(39.1% 0.081 97.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4875

    #0C4875

    oklch(39% 0.095 247.2)

  • #6E2C3C

    #6E2C3C

    oklch(39.1% 0.095 7.5)

  • #374E08

    #374E08

    oklch(39.1% 0.096 127.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4875

    #0C4875

    oklch(39% 0.095 247.2)

  • #642E57

    #642E57

    oklch(38.9% 0.096 337.3)

  • #633A00

    #633A00

    oklch(38.9% 0.086 66.8)

  • #005330

    #005330

    oklch(38.9% 0.093 157.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0C4875, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0C4875 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.