#0C4981

Closest named color: Twilight Blue (#0A437A). oklch(40.1% 0.111 251.7), rgb(12, 73, 129).

Aa

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

About this color

#0C4981 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.111 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.020 away. White text reads best on it, at 9.18:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.28:1
White text9.18:1

Values

HEX#0C4981
RGBrgb(12, 73, 129)
HSLhsl(209, 83%, 28%)
OKLCHoklch(40.1% 0.111 251.7)

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 #0C4981 9.18:1 AAA Lc -95.1 Preferred for body text
Black text on #0C4981 2.28:1 Fails Lc 13.3 Not readable
#0C4981 text on white 9.18:1 AAA Lc 90.7 Preferred for body text
#0C4981 text on black 2.28:1 Fails Lc -11.6 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C4DCF7

    oklch(88.5% 0.045 251.4)

  4. Step 300

    300

    #99C5F5

    oklch(80.9% 0.083 251)

  5. Step 400

    400

    #5EA5F0

    oklch(70.8% 0.132 251.3)

  6. Step 500

    500

    #268BEB

    oklch(63% 0.169 251.9)

  7. Step 600

    600

    #0074CF

    oklch(55.5% 0.165 251.7)

  8. Step 700

    700

    #0061B0

    oklch(49% 0.147 252)

  9. Step 800

    800

    #005091

    oklch(42.8% 0.126 251.5)

  10. Step 900

    900 (this color)

    #0C4981

    oklch(40.1% 0.111 251.7)

  11. Step 950

    950

    #072747

    oklch(26.9% 0.07 252)

Export this scale for Tailwind in the Tailwind colors tool

#0C4981 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)#2D4D830.030
Deuteranopia (no green cones)#1743800.017
Tritanopia (no blue cones)#00565E0.081
Achromatopsia (no color)#4848480.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4981

    #0C4981

    oklch(40.1% 0.111 251.7)

  • #643F00

    #643F00

    oklch(40.1% 0.086 72.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4981

    #0C4981

    oklch(40.1% 0.111 251.7)

  • #005064

    #005064

    oklch(40% 0.074 222)

  • #403E81

    #403E81

    oklch(40.2% 0.11 281.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C4981

    #0C4981

    oklch(40.1% 0.111 251.7)

  • #772E0D

    #772E0D

    oklch(40.1% 0.111 41.6)

  • #524900

    #524900

    oklch(40.2% 0.084 101.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4981

    #0C4981

    oklch(40.1% 0.111 251.7)

  • #782938

    #782938

    oklch(40.3% 0.111 12.1)

  • #315300

    #315300

    oklch(40% 0.11 131.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4981

    #0C4981

    oklch(40.1% 0.111 251.7)

  • #6E2B59

    #6E2B59

    oklch(40.1% 0.111 341.5)

  • #643F00

    #643F00

    oklch(40.1% 0.086 72.1)

  • #005639

    #005639

    oklch(40.1% 0.088 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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