#0C1836

Closest named color: Rich Black (#0D1B2A). oklch(21.8% 0.061 265.3), rgb(12, 24, 54).

Aa

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

About this color

#0C1836 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.061 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.028 away. White text reads best on it, at 17.50:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.061)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.50:1

Values

HEX#0C1836
RGBrgb(12, 24, 54)
HSLhsl(223, 64%, 13%)
OKLCHoklch(21.8% 0.061 265.3)

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 #0C1836 17.50:1 AAA Lc -106.5 Preferred for body text
Black text on #0C1836 1.19:1 Fails Lc 0.0 Not readable
#0C1836 text on white 17.50:1 AAA Lc 104.2 Preferred for body text
#0C1836 text on black 1.19: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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCD9F5

    oklch(88.4% 0.041 265.7)

  4. Step 300

    300

    #AAC0F0

    oklch(80.8% 0.072 265.6)

  5. Step 400

    400

    #7D9FE9

    oklch(70.7% 0.115 264.8)

  6. Step 500

    500

    #5D85E2

    oklch(63.1% 0.147 265)

  7. Step 600

    600

    #456CD0

    oklch(55.6% 0.161 265.5)

  8. Step 700

    700

    #365AB4

    oklch(49.1% 0.149 265)

  9. Step 800

    800

    #2D4A92

    oklch(42.7% 0.124 265.1)

  10. Step 900

    900

    #283E74

    oklch(37.6% 0.096 265.4)

  11. Step 950

    950 (this color)

    #0C1836

    oklch(21.8% 0.061 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C1836 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)#091B370.010
Deuteranopia (no green cones)#0318350.012
Tritanopia (no blue cones)#001F240.050
Achromatopsia (no color)#1919190.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1836

    #0C1836

    oklch(21.8% 0.061 265.3)

  • #231800

    #231800

    oklch(21.7% 0.044 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1836

    #0C1836

    oklch(21.8% 0.061 265.3)

  • #001D2C

    #001D2C

    oklch(21.8% 0.046 234.6)

  • #1D1333

    #1D1333

    oklch(21.9% 0.061 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C1836

    #0C1836

    oklch(21.8% 0.061 265.3)

  • #2C1200

    #2C1200

    oklch(21.7% 0.053 55.8)

  • #191C00

    #191C00

    oklch(21.6% 0.049 115.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1836

    #0C1836

    oklch(21.8% 0.061 265.3)

  • #310C0B

    #310C0B

    oklch(21.8% 0.061 25)

  • #032106

    #032106

    oklch(21.8% 0.062 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1836

    #0C1836

    oklch(21.8% 0.061 265.3)

  • #2F0B1B

    #2F0B1B

    oklch(21.8% 0.062 356)

  • #231800

    #231800

    oklch(21.7% 0.044 85.9)

  • #002019

    #002019

    oklch(21.7% 0.041 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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