#0C334F

Closest named color: Prussian Blue (#1D3557). oklch(31% 0.066 244.4), rgb(12, 51, 79).

Aa

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

About this color

#0C334F is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.066 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.023 away. White text reads best on it, at 13.10:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.066)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.60:1
White text13.10:1

Values

HEX#0C334F
RGBrgb(12, 51, 79)
HSLhsl(205, 74%, 18%)
OKLCHoklch(31% 0.066 244.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 #0C334F 13.10:1 AAA Lc -102.4 Preferred for body text
Black text on #0C334F 1.60:1 Fails Lc 0.0 Not readable
#0C334F text on white 13.10:1 AAA Lc 99.1 Preferred for body text
#0C334F text on black 1.60: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

    #C2DDF4

    oklch(88.5% 0.043 244)

  4. Step 300

    300

    #96C7F0

    oklch(81% 0.078 244.2)

  5. Step 400

    400

    #55A8E9

    oklch(70.7% 0.125 244.6)

  6. Step 500

    500

    #0090E1

    oklch(63.1% 0.158 244.7)

  7. Step 600

    600

    #0079BE

    oklch(55.6% 0.139 244.6)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  10. Step 900

    900

    #00456F

    oklch(37.6% 0.093 244.3)

  11. Step 950

    950 (this color)

    #0C334F

    oklch(31% 0.066 244.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C334F 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)#2634500.029
Deuteranopia (no green cones)#1D2E4E0.021
Tritanopia (no blue cones)#003A3D0.047
Achromatopsia (no color)#3030300.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C334F

    #0C334F

    oklch(31% 0.066 244.4)

  • #472804

    #472804

    oklch(31% 0.066 64.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C334F

    #0C334F

    oklch(31% 0.066 244.4)

  • #003741

    #003741

    oklch(31% 0.054 214.1)

  • #262D51

    #262D51

    oklch(31% 0.065 273.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C334F

    #0C334F

    oklch(31% 0.066 244.4)

  • #4C2218

    #4C2218

    oklch(30.9% 0.066 34.6)

  • #3B2F00

    #3B2F00

    oklch(31% 0.063 93.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C334F

    #0C334F

    oklch(31% 0.066 244.4)

  • #4B202C

    #4B202C

    oklch(30.9% 0.067 4.1)

  • #29360B

    #29360B

    oklch(31.1% 0.066 124.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C334F

    #0C334F

    oklch(31% 0.066 244.4)

  • #44223E

    #44223E

    oklch(30.9% 0.067 333.9)

  • #472804

    #472804

    oklch(31% 0.066 64.2)

  • #0D3A21

    #0D3A21

    oklch(31.1% 0.066 154.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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