#02152C

Closest named color: Rich Black (#0D1B2A). oklch(19.5% 0.054 253), rgb(2, 21, 44).

Aa

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

About this color

#02152C is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.054 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.029 away. White text reads best on it, at 18.32:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.054)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.32:1

Values

HEX#02152C
RGBrgb(2, 21, 44)
HSLhsl(213, 91%, 9%)
OKLCHoklch(19.5% 0.054 253)

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 #02152C 18.32:1 AAA Lc -106.9 Preferred for body text
Black text on #02152C 1.14:1 Fails Lc 0.0 Not readable
#02152C text on white 18.32:1 AAA Lc 104.8 Preferred for body text
#02152C text on black 1.14: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBF1

    oklch(88.5% 0.036 253.5)

  4. Step 300

    300

    #A4C4E9

    oklch(80.9% 0.063 252.3)

  5. Step 400

    400

    #72A4DF

    oklch(70.7% 0.102 253.2)

  6. Step 500

    500

    #4B8CD6

    oklch(63.1% 0.131 253.2)

  7. Step 600

    600

    #2B75C3

    oklch(55.7% 0.141 252.8)

  8. Step 700

    700

    #1D62A8

    oklch(49.2% 0.13 252.6)

  9. Step 800

    800

    #1B5088

    oklch(42.7% 0.108 252.9)

  10. Step 900

    900

    #1D436D

    oklch(37.8% 0.084 252.9)

  11. Step 950

    950 (this color)

    #02152C

    oklch(19.5% 0.054 253)

Export this scale for Tailwind in the Tailwind colors tool

#02152C 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)#09172D0.014
Deuteranopia (no green cones)#03132C0.007
Tritanopia (no blue cones)#001B1E0.041
Achromatopsia (no color)#1515150.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #02152C

    #02152C

    oklch(19.5% 0.054 253)

  • #201100

    #201100

    oklch(19.4% 0.042 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02152C

    #02152C

    oklch(19.5% 0.054 253)

  • #001821

    #001821

    oklch(19.4% 0.037 224.6)

  • #12102C

    #12102C

    oklch(19.4% 0.055 283.3)

Open the analogous palette in the generator

Split complementary

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

  • #02152C

    #02152C

    oklch(19.5% 0.054 253)

  • #280B01

    #280B01

    oklch(19.6% 0.054 43.9)

  • #181500

    #181500

    oklch(19.3% 0.041 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02152C

    #02152C

    oklch(19.5% 0.054 253)

  • #28080E

    #28080E

    oklch(19.4% 0.054 12.2)

  • #0A1A00

    #0A1A00

    oklch(19.6% 0.056 133.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02152C

    #02152C

    oklch(19.5% 0.054 253)

  • #24091B

    #24091B

    oklch(19.4% 0.053 342.5)

  • #201100

    #201100

    oklch(19.4% 0.042 71.9)

  • #001A0F

    #001A0F

    oklch(19.3% 0.041 163.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02152C 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.