#0C4394

Closest named color: Cobalt (#1E488F). oklch(40.2% 0.144 259.3), rgb(12, 67, 148).

Aa

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

About this color

#0C4394 is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.144 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.022 away. White text reads best on it, at 9.34:1.

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.144)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.24:1
White text9.34:1

Values

HEX#0C4394
RGBrgb(12, 67, 148)
HSLhsl(216, 85%, 31%)
OKLCHoklch(40.2% 0.144 259.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 #0C4394 9.34:1 AAA Lc -95.3 Preferred for body text
Black text on #0C4394 2.24:1 Fails Lc 13.0 Not readable
#0C4394 text on white 9.34:1 AAA Lc 91.0 Preferred for body text
#0C4394 text on black 2.24: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

    #9BC2FF

    oklch(80.8% 0.097 259.2)

  5. Step 400

    400

    #64A0FF

    oklch(70.8% 0.153 259.2)

  6. Step 500

    500

    #3584FF

    oklch(63.2% 0.199 259.3)

  7. Step 600

    600

    #0069EF

    oklch(55.6% 0.218 259.2)

  8. Step 700

    700

    #0058CB

    oklch(49.1% 0.193 259.2)

  9. Step 800

    800

    #0047A8

    oklch(42.6% 0.168 259.4)

  10. Step 900

    900 (this color)

    #0C4394

    oklch(40.2% 0.144 259.3)

  11. Step 950

    950

    #062452

    oklch(27% 0.091 259.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C4394 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)#004D970.027
Deuteranopia (no green cones)#0041920.009
Tritanopia (no blue cones)#0057650.109
Achromatopsia (no color)#4747470.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4394

    #0C4394

    oklch(40.2% 0.144 259.3)

  • #604200

    #604200

    oklch(40.2% 0.084 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4394

    #0C4394

    oklch(40.2% 0.144 259.3)

  • #00506A

    #00506A

    oklch(40.3% 0.079 228.5)

  • #49338F

    #49338F

    oklch(40.1% 0.145 289.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C4394

    #0C4394

    oklch(40.2% 0.144 259.3)

  • #743200

    #743200

    oklch(40.1% 0.107 49.2)

  • #4C4B00

    #4C4B00

    oklch(40.1% 0.087 108.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4394

    #0C4394

    oklch(40.2% 0.144 259.3)

  • #851527

    #851527

    oklch(40.2% 0.145 19)

  • #1A5700

    #1A5700

    oklch(40.1% 0.127 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4394

    #0C4394

    oklch(40.2% 0.144 259.3)

  • #7C1954

    #7C1954

    oklch(40.2% 0.145 349.3)

  • #604200

    #604200

    oklch(40.2% 0.084 79.3)

  • #005641

    #005641

    oklch(40.3% 0.08 169.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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