#0C1849

Closest named color: Navy Blue (#001146). oklch(23.6% 0.093 267.9), rgb(12, 24, 73).

Aa

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

About this color

#0C1849 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.093 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.028 away. White text reads best on it, at 16.90:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.24:1
White text16.90:1

Values

HEX#0C1849
RGBrgb(12, 24, 73)
HSLhsl(228, 72%, 17%)
OKLCHoklch(23.6% 0.093 267.9)

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 #0C1849 16.90:1 AAA Lc -106.0 Preferred for body text
Black text on #0C1849 1.24:1 Fails Lc 0.0 Not readable
#0C1849 text on white 16.90:1 AAA Lc 103.5 Preferred for body text
#0C1849 text on black 1.24: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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFF

    oklch(93.7% 0.03 267.2)

  3. Step 200

    200

    #C9D9FF

    oklch(88.6% 0.055 267.2)

  4. Step 300

    300

    #A6BFFF

    oklch(80.9% 0.095 267.8)

  5. Step 400

    400

    #789BFF

    oklch(70.8% 0.152 267.9)

  6. Step 500

    500

    #577DFF

    oklch(63.1% 0.197 268)

  7. Step 600

    600

    #395BFF

    oklch(55.6% 0.245 267.9)

  8. Step 700

    700

    #2D49DE

    oklch(49% 0.227 267.9)

  9. Step 800

    800

    #253EB3

    oklch(42.7% 0.187 267.8)

  10. Step 900

    900

    #21378E

    oklch(37.8% 0.146 267.8)

  11. Step 950

    950 (this color)

    #0C1849

    oklch(23.6% 0.093 267.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C1849 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)#00204B0.024
Deuteranopia (no green cones)#001A480.014
Tritanopia (no blue cones)#00242D0.073
Achromatopsia (no color)#1D1D1D0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1849

    #0C1849

    oklch(23.6% 0.093 267.9)

  • #281C00

    #281C00

    oklch(23.5% 0.048 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1849

    #0C1849

    oklch(23.6% 0.093 267.9)

  • #002134

    #002134

    oklch(23.5% 0.053 238.5)

  • #250F43

    #250F43

    oklch(23.6% 0.093 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C1849

    #0C1849

    oklch(23.6% 0.093 267.9)

  • #311600

    #311600

    oklch(23.5% 0.056 58.2)

  • #1C2100

    #1C2100

    oklch(23.4% 0.054 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1849

    #0C1849

    oklch(23.6% 0.093 267.9)

  • #400202

    #400202

    oklch(23.6% 0.093 28.3)

  • #002609

    #002609

    oklch(23.4% 0.068 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1849

    #0C1849

    oklch(23.6% 0.093 267.9)

  • #3D021E

    #3D021E

    oklch(23.7% 0.092 358.3)

  • #281C00

    #281C00

    oklch(23.5% 0.048 86.2)

  • #00251E

    #00251E

    oklch(23.6% 0.044 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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