#0C314D

Closest named color: Prussian Blue (#1D3557). oklch(30.3% 0.065 245.5), rgb(12, 49, 77).

Aa

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

About this color

#0C314D is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.065 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.028 away. White text reads best on it, at 13.44:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.065)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.56:1
White text13.44:1

Values

HEX#0C314D
RGBrgb(12, 49, 77)
HSLhsl(206, 73%, 17%)
OKLCHoklch(30.3% 0.065 245.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 #0C314D 13.44:1 AAA Lc -102.8 Preferred for body text
Black text on #0C314D 1.56:1 Fails Lc 0.0 Not readable
#0C314D text on white 13.44:1 AAA Lc 99.6 Preferred for body text
#0C314D text on black 1.56: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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DEECF8

    oklch(93.6% 0.022 243.8)

  3. Step 200

    200

    #C3DDF4

    oklch(88.6% 0.042 245)

  4. Step 300

    300

    #97C6F0

    oklch(80.8% 0.078 245.9)

  5. Step 400

    400

    #58A7E8

    oklch(70.6% 0.123 245.6)

  6. Step 500

    500

    #0C90E2

    oklch(63.2% 0.158 245.4)

  7. Step 600

    600

    #0079C0

    oklch(55.7% 0.141 245.3)

  8. Step 700

    700

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #004571

    oklch(37.8% 0.096 245.5)

  11. Step 950

    950 (this color)

    #0C314D

    oklch(30.3% 0.065 245.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C314D 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)#24324E0.027
Deuteranopia (no green cones)#1B2C4C0.020
Tritanopia (no blue cones)#00383B0.047
Achromatopsia (no color)#2F2F2F0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C314D

    #0C314D

    oklch(30.3% 0.065 245.5)

  • #442702

    #442702

    oklch(30.3% 0.065 66.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C314D

    #0C314D

    oklch(30.3% 0.065 245.5)

  • #00353F

    #00353F

    oklch(30.3% 0.053 214.6)

  • #262B4F

    #262B4F

    oklch(30.4% 0.065 275.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C314D

    #0C314D

    oklch(30.3% 0.065 245.5)

  • #4A2116

    #4A2116

    oklch(30.3% 0.066 36)

  • #382E00

    #382E00

    oklch(30.3% 0.062 96)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C314D

    #0C314D

    oklch(30.3% 0.065 245.5)

  • #491F2A

    #491F2A

    oklch(30.3% 0.065 5.2)

  • #27340A

    #27340A

    oklch(30.3% 0.065 125.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C314D

    #0C314D

    oklch(30.3% 0.065 245.5)

  • #42213B

    #42213B

    oklch(30.3% 0.064 335.4)

  • #442702

    #442702

    oklch(30.3% 0.065 66.8)

  • #0A3820

    #0A3820

    oklch(30.3% 0.065 155.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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