#08212F

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.041 236.6), rgb(8, 33, 47).

Aa

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

About this color

#08212F is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.041 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.021 away. White text reads best on it, at 16.54:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.041)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.54:1

Values

HEX#08212F
RGBrgb(8, 33, 47)
HSLhsl(202, 71%, 11%)
OKLCHoklch(23.6% 0.041 236.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 #08212F 16.54:1 AAA Lc -105.8 Preferred for body text
Black text on #08212F 1.26:1 Fails Lc 0.0 Not readable
#08212F text on white 16.54:1 AAA Lc 103.4 Preferred for body text
#08212F text on black 1.26: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #C9DCE9

    oklch(88.4% 0.027 237.6)

  4. Step 300

    300

    #A4C6DC

    oklch(80.9% 0.048 236.6)

  5. Step 400

    400

    #71A8CB

    oklch(70.7% 0.077 237.3)

  6. Step 500

    500

    #4892BD

    oklch(63.1% 0.098 236.7)

  7. Step 600

    600

    #237CAA

    oklch(55.7% 0.107 236.6)

  8. Step 700

    700

    #146892

    oklch(49.1% 0.1 237.1)

  9. Step 800

    800

    #155576

    oklch(42.7% 0.082 236.5)

  10. Step 900

    900

    #1A465F

    oklch(37.6% 0.064 237)

  11. Step 950

    950 (this color)

    #08212F

    oklch(23.6% 0.041 236.6)

Export this scale for Tailwind in the Tailwind colors tool

#08212F 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)#1A21300.023
Deuteranopia (no green cones)#151D2F0.020
Tritanopia (no blue cones)#0025260.028
Achromatopsia (no color)#1F1F1F0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #08212F

    #08212F

    oklch(23.6% 0.041 236.6)

  • #2D190A

    #2D190A

    oklch(23.7% 0.041 56.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08212F

    #08212F

    oklch(23.6% 0.041 236.6)

  • #002428

    #002428

    oklch(23.8% 0.041 205.7)

  • #151E32

    #151E32

    oklch(23.7% 0.041 265)

Open the analogous palette in the generator

Split complementary

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

  • #08212F

    #08212F

    oklch(23.6% 0.041 236.6)

  • #2F1614

    #2F1614

    oklch(23.5% 0.041 25.5)

  • #271D05

    #271D05

    oklch(23.7% 0.041 86.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08212F

    #08212F

    oklch(23.6% 0.041 236.6)

  • #2D161F

    #2D161F

    oklch(23.6% 0.04 355.6)

  • #1D2108

    #1D2108

    oklch(23.7% 0.042 117.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08212F

    #08212F

    oklch(23.6% 0.041 236.6)

  • #281728

    #281728

    oklch(23.5% 0.04 326.8)

  • #2D190A

    #2D190A

    oklch(23.7% 0.041 56.1)

  • #102313

    #102313

    oklch(23.4% 0.04 147.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08212F 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.