#031821

Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.033 228.1), rgb(3, 24, 33).

Aa

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

About this color

#031821 is a very dark, muted teal or cyan. In OKLCH its lightness is 20%, its chroma 0.033 and its hue 228°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.025 away. White text reads best on it, at 18.15:1.

Hue familyTeals and cyans
Lightnessvery dark (20%)
Chromamuted (0.033)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.15:1

Values

HEX#031821
RGBrgb(3, 24, 33)
HSLhsl(198, 83%, 7%)
OKLCHoklch(19.6% 0.033 228.1)

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 #031821 18.15:1 AAA Lc -106.9 Preferred for body text
Black text on #031821 1.15:1 Fails Lc 0.0 Not readable
#031821 text on white 18.15:1 AAA Lc 104.7 Preferred for body text
#031821 text on black 1.15: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2EBF0

    oklch(93.5% 0.012 231.7)

  3. Step 200

    200

    #CBDCE5

    oklch(88.4% 0.022 230.6)

  4. Step 300

    300

    #A7C6D5

    oklch(80.9% 0.04 228.7)

  5. Step 400

    400

    #76A9C0

    oklch(70.7% 0.064 227.8)

  6. Step 500

    500

    #5093B0

    oklch(63.1% 0.081 228.2)

  7. Step 600

    600

    #317D9C

    oklch(55.6% 0.088 228.5)

  8. Step 700

    700

    #226985

    oklch(49% 0.082 228.5)

  9. Step 800

    800

    #1F566C

    oklch(42.7% 0.067 228.1)

  10. Step 900

    900

    #204758

    oklch(37.7% 0.053 228.9)

  11. Step 950

    950 (this color)

    #031821

    oklch(19.6% 0.033 228.1)

Export this scale for Tailwind in the Tailwind colors tool

#031821 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)#1317210.023
Deuteranopia (no green cones)#0F14210.022
Tritanopia (no blue cones)#001B1B0.020
Achromatopsia (no color)#1616160.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #031821

    #031821

    oklch(19.6% 0.033 228.1)

  • #211007

    #211007

    oklch(19.5% 0.033 48.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031821

    #031821

    oklch(19.6% 0.033 228.1)

  • #001A1B

    #001A1B

    oklch(19.8% 0.034 198.2)

  • #0C1524

    #0C1524

    oklch(19.5% 0.033 260.2)

Open the analogous palette in the generator

Split complementary

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

  • #031821

    #031821

    oklch(19.6% 0.033 228.1)

  • #220F0F

    #220F0F

    oklch(19.7% 0.032 20.4)

  • #1D1304

    #1D1304

    oklch(19.6% 0.032 77.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031821

    #031821

    oklch(19.6% 0.033 228.1)

  • #200F18

    #200F18

    oklch(19.7% 0.033 347.5)

  • #171604

    #171604

    oklch(19.6% 0.033 106.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031821

    #031821

    oklch(19.6% 0.033 228.1)

  • #1B101F

    #1B101F

    oklch(19.5% 0.034 316.8)

  • #211007

    #211007

    oklch(19.5% 0.033 48.7)

  • #0D190A

    #0D190A

    oklch(19.7% 0.034 139.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031821 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.