#0C1929

Closest named color: Rich Black (#0D1B2A). oklch(21.1% 0.037 254.4), rgb(12, 25, 41).

Aa

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

About this color

#0C1929 is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.037 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.008 away. White text reads best on it, at 17.69:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.037)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.69:1

Values

HEX#0C1929
RGBrgb(12, 25, 41)
HSLhsl(213, 55%, 10%)
OKLCHoklch(21.1% 0.037 254.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 #0C1929 17.69:1 AAA Lc -106.7 Preferred for body text
Black text on #0C1929 1.18:1 Fails Lc 0.0 Not readable
#0C1929 text on white 17.69:1 AAA Lc 104.4 Preferred for body text
#0C1929 text on black 1.18: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EAF2

    oklch(93.5% 0.013 255.5)

  3. Step 200

    200

    #CFDAE9

    oklch(88.5% 0.024 256.1)

  4. Step 300

    300

    #AEC3DD

    oklch(81% 0.043 253.8)

  5. Step 400

    400

    #83A3CC

    oklch(70.7% 0.07 254.8)

  6. Step 500

    500

    #638CBF

    oklch(63.1% 0.09 254.4)

  7. Step 600

    600

    #4A75AB

    oklch(55.5% 0.097 254.8)

  8. Step 700

    700

    #3B6293

    oklch(49% 0.091 254.9)

  9. Step 800

    800

    #315077

    oklch(42.6% 0.075 254.8)

  10. Step 900

    900

    #2B4360

    oklch(37.7% 0.058 253.8)

  11. Step 950

    950 (this color)

    #0C1929

    oklch(21.1% 0.037 254.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C1929 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)#121A2A0.010
Deuteranopia (no green cones)#0F17290.008
Tritanopia (no blue cones)#001D1F0.033
Achromatopsia (no color)#1818180.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1929

    #0C1929

    oklch(21.1% 0.037 254.4)

  • #221604

    #221604

    oklch(21.1% 0.037 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1929

    #0C1929

    oklch(21.1% 0.037 254.4)

  • #021C25

    #021C25

    oklch(21.1% 0.037 223.9)

  • #161629

    #161629

    oklch(21.1% 0.037 282.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C1929

    #0C1929

    oklch(21.1% 0.037 254.4)

  • #26120A

    #26120A

    oklch(20.9% 0.037 42.3)

  • #1B1904

    #1B1904

    oklch(21% 0.037 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1929

    #0C1929

    oklch(21.1% 0.037 254.4)

  • #271113

    #271113

    oklch(21.1% 0.037 14.9)

  • #111C0A

    #111C0A

    oklch(21% 0.037 134.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1929

    #0C1929

    oklch(21.1% 0.037 254.4)

  • #24111C

    #24111C

    oklch(21% 0.037 345)

  • #221604

    #221604

    oklch(21.1% 0.037 76.4)

  • #051E14

    #051E14

    oklch(21.2% 0.037 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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