#0C4491

Closest named color: Cobalt (#1E488F). oklch(40.2% 0.139 258.4), rgb(12, 68, 145).

Aa

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

About this color

#0C4491 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.139 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.018 away. White text reads best on it, at 9.32:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.25:1
White text9.32:1

Values

HEX#0C4491
RGBrgb(12, 68, 145)
HSLhsl(215, 85%, 31%)
OKLCHoklch(40.2% 0.139 258.4)

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 #0C4491 9.32:1 AAA Lc -95.3 Preferred for body text
Black text on #0C4491 2.25:1 Fails Lc 13.0 Not readable
#0C4491 text on white 9.32:1 AAA Lc 90.9 Preferred for body text
#0C4491 text on black 2.25:1 Fails Lc -11.4 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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFF

    oklch(93.6% 0.031 258.9)

  3. Step 200

    200

    #C3DBFF

    oklch(88.5% 0.056 258.4)

  4. Step 300

    300

    #9AC2FF

    oklch(80.8% 0.097 258.7)

  5. Step 400

    400

    #61A0FF

    oklch(70.6% 0.154 258.4)

  6. Step 500

    500

    #3084FF

    oklch(63% 0.2 258.6)

  7. Step 600

    600

    #006BEA

    oklch(55.6% 0.209 258.4)

  8. Step 700

    700

    #005AC7

    oklch(49.2% 0.185 258.3)

  9. Step 800

    800

    #0049A5

    oklch(42.7% 0.162 258.5)

  10. Step 900

    900 (this color)

    #0C4491

    oklch(40.2% 0.139 258.4)

  11. Step 950

    950

    #062450

    oklch(26.9% 0.088 258.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C4491 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)#0B4D940.025
Deuteranopia (no green cones)#00418F0.011
Tritanopia (no blue cones)#0057630.106
Achromatopsia (no color)#4747470.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4491

    #0C4491

    oklch(40.2% 0.139 258.4)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4491

    #0C4491

    oklch(40.2% 0.139 258.4)

  • #005069

    #005069

    oklch(40.2% 0.078 227.5)

  • #48358D

    #48358D

    oklch(40.1% 0.139 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C4491

    #0C4491

    oklch(40.2% 0.139 258.4)

  • #753100

    #753100

    oklch(40.1% 0.109 48)

  • #4D4B00

    #4D4B00

    oklch(40.2% 0.087 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4491

    #0C4491

    oklch(40.2% 0.139 258.4)

  • #831929

    #831929

    oklch(40.2% 0.14 18.6)

  • #1E5700

    #1E5700

    oklch(40.3% 0.125 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4491

    #0C4491

    oklch(40.2% 0.139 258.4)

  • #7A1D54

    #7A1D54

    oklch(40.2% 0.139 348.9)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

  • #005640

    #005640

    oklch(40.3% 0.081 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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