#0D1831

Closest named color: Rich Black (#0D1B2A). oklch(21.4% 0.052 264.5), rgb(13, 24, 49).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.052)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.61:1

Values

HEX#0D1831
RGBrgb(13, 24, 49)
HSLhsl(222, 58%, 12%)
OKLCHoklch(21.4% 0.052 264.5)

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 #0D1831 17.61:1 AAA Lc -106.6 Preferred for body text
Black text on #0D1831 1.19:1 Fails Lc 0.0 Not readable
#0D1831 text on white 17.61:1 AAA Lc 104.3 Preferred for body text
#0D1831 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CED9F0

    oklch(88.4% 0.034 265.2)

  4. Step 300

    300

    #ADC1E9

    oklch(80.9% 0.061 264.2)

  5. Step 400

    400

    #82A0DE

    oklch(70.7% 0.097 264.2)

  6. Step 500

    500

    #6387D5

    oklch(63.1% 0.125 264.4)

  7. Step 600

    600

    #4A6FC3

    oklch(55.6% 0.137 264.5)

  8. Step 700

    700

    #3C5CA8

    oklch(49% 0.127 264.9)

  9. Step 800

    800

    #314C88

    oklch(42.7% 0.105 264.2)

  10. Step 900

    900

    #2B406D

    oklch(37.7% 0.082 264)

  11. Step 950

    950 (this color)

    #0D1831

    oklch(21.4% 0.052 264.5)

Export this scale for Tailwind in the Tailwind colors tool

#0D1831 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)#0D1B320.010
Deuteranopia (no green cones)#0817300.008
Tritanopia (no blue cones)#001E220.045
Achromatopsia (no color)#1919190.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D1831

    #0D1831

    oklch(21.4% 0.052 264.5)

  • #231700

    #231700

    oklch(21.4% 0.044 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D1831

    #0D1831

    oklch(21.4% 0.052 264.5)

  • #001C2B

    #001C2B

    oklch(21.4% 0.046 235.2)

  • #1B142E

    #1B142E

    oklch(21.5% 0.05 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #0D1831

    #0D1831

    oklch(21.4% 0.052 264.5)

  • #2B1101

    #2B1101

    oklch(21.4% 0.052 52.9)

  • #191C00

    #191C00

    oklch(21.6% 0.049 115.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D1831

    #0D1831

    oklch(21.4% 0.052 264.5)

  • #2D0E0D

    #2D0E0D

    oklch(21.4% 0.052 24.3)

  • #071F09

    #071F09

    oklch(21.3% 0.051 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D1831

    #0D1831

    oklch(21.4% 0.052 264.5)

  • #2B0E1B

    #2B0E1B

    oklch(21.5% 0.051 354.2)

  • #231700

    #231700

    oklch(21.4% 0.044 83.1)

  • #001F18

    #001F18

    oklch(21.4% 0.04 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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