#0C3867

Closest named color: Marine Blue (#01386A). oklch(34% 0.095 253.8), rgb(12, 56, 103).

Aa

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

About this color

#0C3867 is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.095 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.007 away. White text reads best on it, at 11.81:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.77:1
White text11.81:1

Values

HEX#0C3867
RGBrgb(12, 56, 103)
HSLhsl(211, 79%, 23%)
OKLCHoklch(34% 0.095 253.8)

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 #0C3867 11.81:1 AAA Lc -100.4 Preferred for body text
Black text on #0C3867 1.77:1 Fails Lc 0.0 Not readable
#0C3867 text on white 11.81:1 AAA Lc 96.7 Preferred for body text
#0C3867 text on black 1.77: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 900.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A1C4EE

    oklch(80.9% 0.071 253.2)

  5. Step 400

    400

    #6DA4E6

    oklch(70.8% 0.113 253.7)

  6. Step 500

    500

    #438BDE

    oklch(63% 0.145 253.8)

  7. Step 600

    600

    #1F73CC

    oklch(55.5% 0.158 253.9)

  8. Step 700

    700

    #1060B1

    oklch(49.1% 0.147 254)

  9. Step 800

    800

    #124F8F

    oklch(42.7% 0.121 253.8)

  10. Step 900

    900 (this color)

    #0C3867

    oklch(34% 0.095 253.8)

  11. Step 950

    950

    #0F2743

    oklch(27% 0.06 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C3867 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)#203C690.023
Deuteranopia (no green cones)#0E34660.012
Tritanopia (no blue cones)#00434A0.070
Achromatopsia (no color)#3737370.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C3867

    #0C3867

    oklch(34% 0.095 253.8)

  • #4E3100

    #4E3100

    oklch(34% 0.072 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C3867

    #0C3867

    oklch(34% 0.095 253.8)

  • #003E50

    #003E50

    oklch(33.8% 0.064 224.6)

  • #332F66

    #332F66

    oklch(34% 0.093 283.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C3867

    #0C3867

    oklch(34% 0.095 253.8)

  • #5E2304

    #5E2304

    oklch(33.9% 0.095 43.6)

  • #3E3900

    #3E3900

    oklch(33.9% 0.072 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C3867

    #0C3867

    oklch(34% 0.095 253.8)

  • #5F1E29

    #5F1E29

    oklch(34% 0.095 13.6)

  • #224203

    #224203

    oklch(34.1% 0.095 133.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C3867

    #0C3867

    oklch(34% 0.095 253.8)

  • #582044

    #582044

    oklch(34% 0.095 343.9)

  • #4E3100

    #4E3100

    oklch(34% 0.072 73.4)

  • #00432D

    #00432D

    oklch(33.9% 0.073 163.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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