#02162A

Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.049 249.2), rgb(2, 22, 42).

Aa

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

About this color

#02162A is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.049 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.026 away. White text reads best on it, at 18.24:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.049)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.24:1

Values

HEX#02162A
RGBrgb(2, 22, 42)
HSLhsl(210, 91%, 9%)
OKLCHoklch(19.6% 0.049 249.2)

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 #02162A 18.24:1 AAA Lc -106.9 Preferred for body text
Black text on #02162A 1.15:1 Fails Lc 0.0 Not readable
#02162A text on white 18.24:1 AAA Lc 104.8 Preferred for body text
#02162A 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #C9DBEE

    oklch(88.4% 0.033 249.6)

  4. Step 300

    300

    #A4C4E5

    oklch(80.8% 0.058 249.3)

  5. Step 400

    400

    #72A5D8

    oklch(70.6% 0.093 249.3)

  6. Step 500

    500

    #4B8ECE

    oklch(63.1% 0.119 249.3)

  7. Step 600

    600

    #2A77BB

    oklch(55.6% 0.129 249.1)

  8. Step 700

    700

    #1C64A1

    oklch(49.2% 0.119 248.9)

  9. Step 800

    800

    #1A5283

    oklch(42.8% 0.1 249)

  10. Step 900

    900

    #1C4469

    oklch(37.7% 0.078 249.1)

  11. Step 950

    950 (this color)

    #02162A

    oklch(19.6% 0.049 249.2)

Export this scale for Tailwind in the Tailwind colors tool

#02162A 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)#0C172B0.015
Deuteranopia (no green cones)#06132A0.011
Tritanopia (no blue cones)#001B1D0.037
Achromatopsia (no color)#1515150.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #02162A

    #02162A

    oklch(19.6% 0.049 249.2)

  • #211100

    #211100

    oklch(19.6% 0.042 69.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02162A

    #02162A

    oklch(19.6% 0.049 249.2)

  • #001920

    #001920

    oklch(19.7% 0.035 218.3)

  • #11122B

    #11122B

    oklch(19.7% 0.049 279.1)

Open the analogous palette in the generator

Split complementary

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

  • #02162A

    #02162A

    oklch(19.6% 0.049 249.2)

  • #270C04

    #270C04

    oklch(19.7% 0.049 39.5)

  • #1A1500

    #1A1500

    oklch(19.6% 0.04 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02162A

    #02162A

    oklch(19.6% 0.049 249.2)

  • #270A10

    #270A10

    oklch(19.6% 0.049 10.1)

  • #0E1901

    #0E1901

    oklch(19.6% 0.049 128.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02162A

    #02162A

    oklch(19.6% 0.049 249.2)

  • #230B1C

    #230B1C

    oklch(19.6% 0.049 339.8)

  • #211100

    #211100

    oklch(19.6% 0.042 69.9)

  • #001B0E

    #001B0E

    oklch(19.6% 0.044 160.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02162A 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.