#0C3152

Closest named color: Prussian Blue (#1D3557). oklch(30.6% 0.072 249.5), rgb(12, 49, 82).

Aa

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

About this color

#0C3152 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.072 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.024 away. White text reads best on it, at 13.31:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.57:1
White text13.31:1

Values

HEX#0C3152
RGBrgb(12, 49, 82)
HSLhsl(208, 74%, 18%)
OKLCHoklch(30.6% 0.072 249.5)

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 #0C3152 13.31:1 AAA Lc -102.7 Preferred for body text
Black text on #0C3152 1.57:1 Fails Lc 0.0 Not readable
#0C3152 text on white 13.31:1 AAA Lc 99.4 Preferred for body text
#0C3152 text on black 1.57:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEECFA

    oklch(93.7% 0.024 248.1)

  3. Step 200

    200

    #C2DCF8

    oklch(88.4% 0.048 250.3)

  4. Step 300

    300

    #96C6F6

    oklch(81% 0.085 248.9)

  5. Step 400

    400

    #56A6F2

    oklch(70.8% 0.137 249.3)

  6. Step 500

    500

    #048DED

    oklch(63.1% 0.174 249.3)

  7. Step 600

    600

    #0076C9

    oklch(55.6% 0.155 249.4)

  8. Step 700

    700

    #0063AA

    oklch(49.1% 0.137 249.4)

  9. Step 800

    800

    #00518D

    oklch(42.7% 0.12 249.5)

  10. Step 900

    900

    #004376

    oklch(37.6% 0.105 249.5)

  11. Step 950

    950 (this color)

    #0C3152

    oklch(30.6% 0.072 249.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C3152 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)#2233530.025
Deuteranopia (no green cones)#172C510.017
Tritanopia (no blue cones)#00393D0.054
Achromatopsia (no color)#2F2F2F0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C3152

    #0C3152

    oklch(30.6% 0.072 249.5)

  • #442800

    #442800

    oklch(30.5% 0.066 69.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C3152

    #0C3152

    oklch(30.6% 0.072 249.5)

  • #003642

    #003642

    oklch(30.7% 0.055 217.9)

  • #282A53

    #282A53

    oklch(30.6% 0.073 279.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C3152

    #0C3152

    oklch(30.6% 0.072 249.5)

  • #4D2011

    #4D2011

    oklch(30.6% 0.073 38.8)

  • #373000

    #373000

    oklch(30.7% 0.064 100.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C3152

    #0C3152

    oklch(30.6% 0.072 249.5)

  • #4D1D27

    #4D1D27

    oklch(30.6% 0.073 9.5)

  • #233608

    #233608

    oklch(30.6% 0.073 129.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C3152

    #0C3152

    oklch(30.6% 0.072 249.5)

  • #461F3B

    #461F3B

    oklch(30.5% 0.072 339.1)

  • #442800

    #442800

    oklch(30.5% 0.066 69.7)

  • #003A22

    #003A22

    oklch(30.7% 0.071 158.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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