#02151F

Closest named color: Rich Navy (#001219). oklch(18.5% 0.034 232.3), rgb(2, 21, 31).

Aa

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

About this color

#02151F is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.034 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.017 away. White text reads best on it, at 18.59:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.034)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.12:1
White text18.59:1

Values

HEX#02151F
RGBrgb(2, 21, 31)
HSLhsl(201, 88%, 6%)
OKLCHoklch(18.5% 0.034 232.3)

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 #02151F 18.59:1 AAA Lc -107.1 Preferred for body text
Black text on #02151F 1.12:1 Fails Lc 0.0 Not readable
#02151F text on white 18.59:1 AAA Lc 105.0 Preferred for body text
#02151F 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

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CBDCE6

    oklch(88.5% 0.023 233.4)

  4. Step 300

    300

    #A8C6D6

    oklch(81% 0.039 231.2)

  5. Step 400

    400

    #78A8C2

    oklch(70.7% 0.064 232.5)

  6. Step 500

    500

    #5392B3

    oklch(63.1% 0.082 233)

  7. Step 600

    600

    #347C9E

    oklch(55.6% 0.088 232)

  8. Step 700

    700

    #266888

    oklch(49% 0.083 233.3)

  9. Step 800

    800

    #21556E

    oklch(42.6% 0.069 232.5)

  10. Step 900

    900

    #214659

    oklch(37.6% 0.053 233)

  11. Step 950

    950 (this color)

    #02151F

    oklch(18.5% 0.034 232.3)

Export this scale for Tailwind in the Tailwind colors tool

#02151F 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)#10151F0.022
Deuteranopia (no green cones)#0C121F0.018
Tritanopia (no blue cones)#0018180.022
Achromatopsia (no color)#1313130.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #02151F

    #02151F

    oklch(18.5% 0.034 232.3)

  • #1E0E05

    #1E0E05

    oklch(18.5% 0.033 51.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02151F

    #02151F

    oklch(18.5% 0.034 232.3)

  • #001719

    #001719

    oklch(18.6% 0.032 202.2)

  • #0A1222

    #0A1222

    oklch(18.4% 0.035 263.2)

Open the analogous palette in the generator

Split complementary

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

  • #02151F

    #02151F

    oklch(18.5% 0.034 232.3)

  • #200C0C

    #200C0C

    oklch(18.5% 0.035 20.9)

  • #1A1102

    #1A1102

    oklch(18.5% 0.033 81.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02151F

    #02151F

    oklch(18.5% 0.034 232.3)

  • #1E0C14

    #1E0C14

    oklch(18.5% 0.034 352.8)

  • #131403

    #131403

    oklch(18.5% 0.033 112)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02151F

    #02151F

    oklch(18.5% 0.034 232.3)

  • #1A0D1B

    #1A0D1B

    oklch(18.4% 0.034 324.3)

  • #1E0E05

    #1E0E05

    oklch(18.5% 0.033 51.5)

  • #091608

    #091608

    oklch(18.3% 0.034 142.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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