#0C345E

Closest named color: Prussian Blue (#1D3557). oklch(32.3% 0.086 253.2), rgb(12, 52, 94).

Aa

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

About this color

#0C345E is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.086 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.020 away. White text reads best on it, at 12.58:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.66:1
White text12.58:1

Values

HEX#0C345E
RGBrgb(12, 52, 94)
HSLhsl(211, 77%, 21%)
OKLCHoklch(32.3% 0.086 253.2)

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 #0C345E 12.58:1 AAA Lc -101.6 Preferred for body text
Black text on #0C345E 1.66:1 Fails Lc 0.0 Not readable
#0C345E text on white 12.58:1 AAA Lc 98.2 Preferred for body text
#0C345E text on black 1.66: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

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DCECFE

    oklch(93.7% 0.03 251.3)

  3. Step 200

    200

    #BFDCFF

    oklch(88.5% 0.058 253.3)

  4. Step 300

    300

    #93C5FF

    oklch(81% 0.098 252.7)

  5. Step 400

    400

    #52A3FF

    oklch(70.7% 0.157 253.4)

  6. Step 500

    500

    #0089FB

    oklch(63.1% 0.196 253.2)

  7. Step 600

    600

    #0073D4

    oklch(55.6% 0.172 253.1)

  8. Step 700

    700

    #0060B4

    oklch(49.1% 0.153 253.4)

  9. Step 800

    800

    #004F95

    oklch(42.8% 0.133 253.1)

  10. Step 900

    900

    #00417D

    oklch(37.6% 0.117 253.3)

  11. Step 950

    950 (this color)

    #0C345E

    oklch(32.3% 0.086 253.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C345E 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)#1F37600.021
Deuteranopia (no green cones)#10305D0.012
Tritanopia (no blue cones)#003E440.064
Achromatopsia (no color)#3333330.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C345E

    #0C345E

    oklch(32.3% 0.086 253.2)

  • #482D00

    #482D00

    oklch(32.2% 0.068 73.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C345E

    #0C345E

    oklch(32.3% 0.086 253.2)

  • #003A4A

    #003A4A

    oklch(32.3% 0.06 223)

  • #2F2C5E

    #2F2C5E

    oklch(32.4% 0.086 283.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C345E

    #0C345E

    oklch(32.3% 0.086 253.2)

  • #562107

    #562107

    oklch(32.2% 0.086 43.2)

  • #3A3500

    #3A3500

    oklch(32.4% 0.068 103.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C345E

    #0C345E

    oklch(32.3% 0.086 253.2)

  • #571D27

    #571D27

    oklch(32.3% 0.086 12.9)

  • #213C05

    #213C05

    oklch(32.2% 0.085 132.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C345E

    #0C345E

    oklch(32.3% 0.086 253.2)

  • #501E3F

    #501E3F

    oklch(32.2% 0.087 342.7)

  • #482D00

    #482D00

    oklch(32.2% 0.068 73.6)

  • #003E29

    #003E29

    oklch(32.2% 0.069 163.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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