#021542

Closest named color: Navy Blue (#001146). oklch(21.6% 0.09 262.1), rgb(2, 21, 66).

Aa

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

About this color

#021542 is a very dark, moderately saturated blue. In OKLCH its lightness is 22%, its chroma 0.090 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.014 away. White text reads best on it, at 17.66:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.18:1
White text17.66:1

Values

HEX#021542
RGBrgb(2, 21, 66)
HSLhsl(222, 94%, 13%)
OKLCHoklch(21.6% 0.09 262.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 #021542 17.66:1 AAA Lc -106.4 Preferred for body text
Black text on #021542 1.18:1 Fails Lc 0.0 Not readable
#021542 text on white 17.66:1 AAA Lc 104.1 Preferred for body text
#021542 text on black 1.18: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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEAFF

    oklch(93.5% 0.031 263.5)

  3. Step 200

    200

    #C5DAFF

    oklch(88.5% 0.056 261.8)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6B9EFF

    oklch(70.7% 0.153 262.2)

  6. Step 500

    500

    #4282FF

    oklch(63.2% 0.198 262)

  7. Step 600

    600

    #1763FA

    oklch(55.6% 0.236 262.2)

  8. Step 700

    700

    #0851DA

    oklch(49.2% 0.219 262)

  9. Step 800

    800

    #0C43B0

    oklch(42.7% 0.182 262.2)

  10. Step 900

    900

    #123B8B

    oklch(37.8% 0.141 261.9)

  11. Step 950

    950 (this color)

    #021542

    oklch(21.6% 0.09 262.1)

Export this scale for Tailwind in the Tailwind colors tool

#021542 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)#001C430.021
Deuteranopia (no green cones)#0016410.004
Tritanopia (no blue cones)#0021290.068
Achromatopsia (no color)#1919190.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #021542

    #021542

    oklch(21.6% 0.09 262.1)

  • #241700

    #241700

    oklch(21.6% 0.045 81.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021542

    #021542

    oklch(21.6% 0.09 262.1)

  • #001D2A

    #001D2A

    oklch(21.6% 0.043 230.8)

  • #1D0C3E

    #1D0C3E

    oklch(21.6% 0.089 292.9)

Open the analogous palette in the generator

Split complementary

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

  • #021542

    #021542

    oklch(21.6% 0.09 262.1)

  • #2D1100

    #2D1100

    oklch(21.7% 0.055 52.7)

  • #1A1C00

    #1A1C00

    oklch(21.7% 0.049 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021542

    #021542

    oklch(21.6% 0.09 262.1)

  • #380006

    #380006

    oklch(21.5% 0.087 21.6)

  • #012100

    #012100

    oklch(21.5% 0.072 141.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021542

    #021542

    oklch(21.6% 0.09 262.1)

  • #35001E

    #35001E

    oklch(21.6% 0.09 351.8)

  • #241700

    #241700

    oklch(21.6% 0.045 81.1)

  • #002017

    #002017

    oklch(21.7% 0.043 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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