#02151D

Closest named color: Rich Navy (#001219). oklch(18.3% 0.031 226.5), rgb(2, 21, 29).

Aa

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

About this color

#02151D is a very dark, muted teal or cyan. In OKLCH its lightness is 18%, its chroma 0.031 and its hue 227°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.015 away. White text reads best on it, at 18.62:1.

Hue familyTeals and cyans
Lightnessvery dark (18%)
Chromamuted (0.031)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.12:1
White text18.62:1

Values

HEX#02151D
RGBrgb(2, 21, 29)
HSLhsl(198, 87%, 6%)
OKLCHoklch(18.3% 0.031 226.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 #02151D 18.62:1 AAA Lc -107.2 Preferred for body text
Black text on #02151D 1.12:1 Fails Lc 0.0 Not readable
#02151D text on white 18.62:1 AAA Lc 105.1 Preferred for body text
#02151D text on black 1.12: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

    #E3EBEF

    oklch(93.5% 0.01 228.9)

  3. Step 200

    200

    #CCDCE4

    oklch(88.5% 0.02 229.1)

  4. Step 300

    300

    #A8C6D3

    oklch(80.9% 0.037 225.9)

  5. Step 400

    400

    #79A9BD

    oklch(70.8% 0.059 225.7)

  6. Step 500

    500

    #5493AD

    oklch(63.1% 0.076 226.7)

  7. Step 600

    600

    #357D99

    oklch(55.6% 0.083 226.9)

  8. Step 700

    700

    #276982

    oklch(49% 0.077 226.7)

  9. Step 800

    800

    #22566A

    oklch(42.7% 0.064 226.6)

  10. Step 900

    900

    #224756

    oklch(37.7% 0.049 226.8)

  11. Step 950

    950 (this color)

    #02151D

    oklch(18.3% 0.031 226.5)

Export this scale for Tailwind in the Tailwind colors tool

#02151D 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)#11141D0.024
Deuteranopia (no green cones)#0D111D0.022
Tritanopia (no blue cones)#0017180.015
Achromatopsia (no color)#1313130.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #02151D

    #02151D

    oklch(18.3% 0.031 226.5)

  • #1E0E06

    #1E0E06

    oklch(18.5% 0.032 48.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02151D

    #02151D

    oklch(18.3% 0.031 226.5)

  • #001617

    #001617

    oklch(18.2% 0.031 198.6)

  • #091320

    #091320

    oklch(18.5% 0.031 255.4)

Open the analogous palette in the generator

Split complementary

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

  • #02151D

    #02151D

    oklch(18.3% 0.031 226.5)

  • #1E0C0D

    #1E0C0D

    oklch(18.2% 0.031 17.1)

  • #1A1003

    #1A1003

    oklch(18.3% 0.031 75.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02151D

    #02151D

    oklch(18.3% 0.031 226.5)

  • #1C0C15

    #1C0C15

    oklch(18.2% 0.032 345.9)

  • #141303

    #141303

    oklch(18.3% 0.031 106.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02151D

    #02151D

    oklch(18.3% 0.031 226.5)

  • #180E1C

    #180E1C

    oklch(18.4% 0.032 316)

  • #1E0E06

    #1E0E06

    oklch(18.5% 0.032 48.3)

  • #0C1507

    #0C1507

    oklch(18.2% 0.031 134.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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