#08121D

Closest named color: Rich Navy (#001219). oklch(17.9% 0.027 251.5), rgb(8, 18, 29).

Aa

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

About this color

#08121D is a very dark close to neutral grey. In OKLCH its lightness is 18%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.018 away. White text reads best on it, at 18.84:1.

Hue familyNeutrals
Lightnessvery dark (18%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.84:1

Values

HEX#08121D
RGBrgb(8, 18, 29)
HSLhsl(211, 57%, 7%)
OKLCHoklch(17.9% 0.027 251.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 #08121D 18.84:1 AAA Lc -107.3 Preferred for body text
Black text on #08121D 1.11:1 Fails Lc 0.0 Not readable
#08121D text on white 18.84:1 AAA Lc 105.3 Preferred for body text
#08121D text on black 1.11: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAF0

    oklch(93.5% 0.01 252.8)

  3. Step 200

    200

    #D1DAE5

    oklch(88.5% 0.018 253.4)

  4. Step 300

    300

    #B2C3D5

    oklch(81% 0.032 249.7)

  5. Step 400

    400

    #89A3C1

    oklch(70.6% 0.053 252.2)

  6. Step 500

    500

    #6C8DB1

    oklch(63.2% 0.066 251.1)

  7. Step 600

    600

    #53769D

    oklch(55.6% 0.073 251.8)

  8. Step 700

    700

    #446386

    oklch(49.1% 0.067 252.2)

  9. Step 800

    800

    #38516D

    oklch(42.7% 0.056 251.9)

  10. Step 900

    900

    #304358

    oklch(37.6% 0.044 251.5)

  11. Step 950

    950 (this color)

    #08121D

    oklch(17.9% 0.027 251.5)

Export this scale for Tailwind in the Tailwind colors tool

#08121D 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)#0E121D0.010
Deuteranopia (no green cones)#0B101D0.009
Tritanopia (no blue cones)#0115160.025
Achromatopsia (no color)#1111110.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #08121D

    #08121D

    oklch(17.9% 0.027 251.5)

  • #190F04

    #190F04

    oklch(17.9% 0.028 70.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08121D

    #08121D

    oklch(17.9% 0.027 251.5)

  • #03141A

    #03141A

    oklch(17.9% 0.027 222)

  • #0F101D

    #0F101D

    oklch(17.9% 0.027 279.9)

Open the analogous palette in the generator

Split complementary

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

  • #08121D

    #08121D

    oklch(17.9% 0.027 251.5)

  • #1B0D08

    #1B0D08

    oklch(17.8% 0.026 40.8)

  • #141204

    #141204

    oklch(18% 0.028 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08121D

    #08121D

    oklch(17.9% 0.027 251.5)

  • #1C0C0E

    #1C0C0E

    oklch(17.9% 0.028 12.2)

  • #0D1407

    #0D1407

    oklch(18% 0.028 131.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08121D

    #08121D

    oklch(17.9% 0.027 251.5)

  • #1A0C15

    #1A0C15

    oklch(17.9% 0.029 341.5)

  • #190F04

    #190F04

    oklch(17.9% 0.028 70.7)

  • #06150D

    #06150D

    oklch(17.9% 0.027 159.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08121D 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.