#0C4975

Closest named color: Twilight Blue (#0A437A). oklch(39.3% 0.094 246.3), rgb(12, 73, 117).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.22:1
White text9.43:1

Values

HEX#0C4975
RGBrgb(12, 73, 117)
HSLhsl(205, 81%, 25%)
OKLCHoklch(39.3% 0.094 246.3)

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 #0C4975 9.43:1 AAA Lc -95.7 Preferred for body text
Black text on #0C4975 2.22:1 Fails Lc 12.6 Not readable
#0C4975 text on white 9.43:1 AAA Lc 91.4 Preferred for body text
#0C4975 text on black 2.22:1 Fails Lc -11.0 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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C5DCF2

    oklch(88.4% 0.039 247.1)

  4. Step 300

    300

    #9CC6EC

    oklch(81% 0.07 246.1)

  5. Step 400

    400

    #61A7E3

    oklch(70.7% 0.113 246.2)

  6. Step 500

    500

    #2B8FDB

    oklch(63% 0.145 246.4)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005287

    oklch(42.6% 0.111 246.5)

  10. Step 900

    900 (this color)

    #0C4975

    oklch(39.3% 0.094 246.3)

  11. Step 950

    950

    #082842

    oklch(26.9% 0.061 247.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C4975 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)#344B770.036
Deuteranopia (no green cones)#2542740.025
Tritanopia (no blue cones)#0054590.067
Achromatopsia (no color)#4646460.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4975

    #0C4975

    oklch(39.3% 0.094 246.3)

  • #653B00

    #653B00

    oklch(39.4% 0.088 66.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4975

    #0C4975

    oklch(39.3% 0.094 246.3)

  • #004F5E

    #004F5E

    oklch(39.4% 0.07 216.1)

  • #393F78

    #393F78

    oklch(39.2% 0.096 276.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C4975

    #0C4975

    oklch(39.3% 0.094 246.3)

  • #6F301F

    #6F301F

    oklch(39.2% 0.094 36.1)

  • #534500

    #534500

    oklch(39.3% 0.081 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4975

    #0C4975

    oklch(39.3% 0.094 246.3)

  • #6E2D3E

    #6E2D3E

    oklch(39.3% 0.094 6.1)

  • #394E09

    #394E09

    oklch(39.2% 0.094 126)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4975

    #0C4975

    oklch(39.3% 0.094 246.3)

  • #643059

    #643059

    oklch(39.3% 0.094 335.8)

  • #653B00

    #653B00

    oklch(39.4% 0.088 66.4)

  • #015430

    #015430

    oklch(39.2% 0.094 156.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C4975 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.