#0C132B

Closest named color: Rich Black (#0D1B2A). oklch(19.5% 0.049 269.2), rgb(12, 19, 43).

Aa

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

About this color

#0C132B is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.049 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.030 away. White text reads best on it, at 18.36:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.049)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.36:1

Values

HEX#0C132B
RGBrgb(12, 19, 43)
HSLhsl(226, 56%, 11%)
OKLCHoklch(19.5% 0.049 269.2)

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 #0C132B 18.36:1 AAA Lc -107.0 Preferred for body text
Black text on #0C132B 1.14:1 Fails Lc 0.0 Not readable
#0C132B text on white 18.36:1 AAA Lc 104.9 Preferred for body text
#0C132B text on black 1.14: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #D0D9EF

    oklch(88.5% 0.032 268)

  4. Step 300

    300

    #B1C0E7

    oklch(80.9% 0.058 268.6)

  5. Step 400

    400

    #899EDC

    oklch(70.7% 0.094 269.5)

  6. Step 500

    500

    #6C85D2

    oklch(63.1% 0.12 269.2)

  7. Step 600

    600

    #556DBF

    oklch(55.5% 0.13 269.5)

  8. Step 700

    700

    #455BA5

    oklch(49.1% 0.121 269.1)

  9. Step 800

    800

    #394B86

    oklch(42.8% 0.1 269.1)

  10. Step 900

    900

    #313F6B

    oklch(37.8% 0.078 269.1)

  11. Step 950

    950 (this color)

    #0C132B

    oklch(19.5% 0.049 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C132B 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)#08162C0.011
Deuteranopia (no green cones)#05132A0.011
Tritanopia (no blue cones)#00181C0.044
Achromatopsia (no color)#1414140.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C132B

    #0C132B

    oklch(19.5% 0.049 269.2)

  • #1C1400

    #1C1400

    oklch(19.6% 0.04 90.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C132B

    #0C132B

    oklch(19.5% 0.049 269.2)

  • #001726

    #001726

    oklch(19.5% 0.044 238.6)

  • #180F28

    #180F28

    oklch(19.5% 0.05 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C132B

    #0C132B

    oklch(19.5% 0.049 269.2)

  • #240F00

    #240F00

    oklch(19.6% 0.046 59.2)

  • #131800

    #131800

    oklch(19.7% 0.046 119.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C132B

    #0C132B

    oklch(19.5% 0.049 269.2)

  • #270B07

    #270B07

    oklch(19.5% 0.048 30.8)

  • #021B08

    #021B08

    oklch(19.6% 0.05 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C132B

    #0C132B

    oklch(19.5% 0.049 269.2)

  • #260A14

    #260A14

    oklch(19.6% 0.049 0.3)

  • #1C1400

    #1C1400

    oklch(19.6% 0.04 90.3)

  • #001A15

    #001A15

    oklch(19.5% 0.036 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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