#0C1C33

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.05 257.6), rgb(12, 28, 51).

Aa

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

About this color

#0C1C33 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.050 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.017 away. White text reads best on it, at 17.07:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.050)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.07:1

Values

HEX#0C1C33
RGBrgb(12, 28, 51)
HSLhsl(215, 62%, 12%)
OKLCHoklch(22.6% 0.05 257.6)

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 #0C1C33 17.07:1 AAA Lc -106.2 Preferred for body text
Black text on #0C1C33 1.22:1 Fails Lc 0.0 Not readable
#0C1C33 text on white 17.07:1 AAA Lc 103.9 Preferred for body text
#0C1C33 text on black 1.22: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAEF

    oklch(88.4% 0.033 258.4)

  4. Step 300

    300

    #A9C2E7

    oklch(80.8% 0.059 258.1)

  5. Step 400

    400

    #7BA2DC

    oklch(70.6% 0.096 258.1)

  6. Step 500

    500

    #598AD2

    oklch(63.1% 0.122 257.9)

  7. Step 600

    600

    #3E73BF

    oklch(55.6% 0.131 257.6)

  8. Step 700

    700

    #3060A5

    oklch(49.1% 0.123 257.7)

  9. Step 800

    800

    #284F85

    oklch(42.7% 0.1 257)

  10. Step 900

    900

    #25426B

    oklch(37.8% 0.079 257.2)

  11. Step 950

    950 (this color)

    #0C1C33

    oklch(22.6% 0.05 257.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C1C33 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)#121E340.011
Deuteranopia (no green cones)#0C1A330.007
Tritanopia (no blue cones)#0021250.040
Achromatopsia (no color)#1C1C1C0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1C33

    #0C1C33

    oklch(22.6% 0.05 257.6)

  • #281900

    #281900

    oklch(22.7% 0.047 78.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1C33

    #0C1C33

    oklch(22.6% 0.05 257.6)

  • #00202C

    #00202C

    oklch(22.7% 0.044 227)

  • #1B1832

    #1B1832

    oklch(22.7% 0.049 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C1C33

    #0C1C33

    oklch(22.6% 0.05 257.6)

  • #2E1405

    #2E1405

    oklch(22.6% 0.05 49.5)

  • #1F1D00

    #1F1D00

    oklch(22.6% 0.048 106)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1C33

    #0C1C33

    oklch(22.6% 0.05 257.6)

  • #301113

    #301113

    oklch(22.7% 0.051 18)

  • #102109

    #102109

    oklch(22.6% 0.049 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1C33

    #0C1C33

    oklch(22.6% 0.05 257.6)

  • #2C1120

    #2C1120

    oklch(22.5% 0.05 347.4)

  • #281900

    #281900

    oklch(22.7% 0.047 78.6)

  • #002318

    #002318

    oklch(22.7% 0.046 167.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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