#021742

Closest named color: Navy Blue (#001146). oklch(22.1% 0.087 261), rgb(2, 23, 66).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (22%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.20:1
White text17.44:1

Values

HEX#021742
RGBrgb(2, 23, 66)
HSLhsl(220, 94%, 13%)
OKLCHoklch(22.1% 0.087 261)

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 #021742 17.44:1 AAA Lc -106.3 Preferred for body text
Black text on #021742 1.20:1 Fails Lc 0.0 Not readable
#021742 text on white 17.44:1 AAA Lc 103.9 Preferred for body text
#021742 text on black 1.20: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

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C5DAFF

    oklch(88.5% 0.056 261.8)

  4. Step 300

    300

    #9EC1FF

    oklch(80.8% 0.096 261.6)

  5. Step 400

    400

    #689FFF

    oklch(70.7% 0.153 260.8)

  6. Step 500

    500

    #3D82FF

    oklch(63% 0.199 261.1)

  7. Step 600

    600

    #1066F5

    oklch(55.6% 0.227 260.9)

  8. Step 700

    700

    #0153D6

    oklch(49.1% 0.212 261.1)

  9. Step 800

    800

    #0745AD

    oklch(42.7% 0.176 261)

  10. Step 900

    900

    #113C89

    oklch(37.8% 0.137 261.1)

  11. Step 950

    950 (this color)

    #021742

    oklch(22.1% 0.087 261)

Export this scale for Tailwind in the Tailwind colors tool

#021742 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)#001D430.018
Deuteranopia (no green cones)#0017410.003
Tritanopia (no blue cones)#0022290.067
Achromatopsia (no color)#1A1A1A0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #021742

    #021742

    oklch(22.1% 0.087 261)

  • #251800

    #251800

    oklch(22% 0.045 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021742

    #021742

    oklch(22.1% 0.087 261)

  • #001E2C

    #001E2C

    oklch(22.1% 0.045 232.1)

  • #1D0F3F

    #1D0F3F

    oklch(22.2% 0.086 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #021742

    #021742

    oklch(22.1% 0.087 261)

  • #2F1100

    #2F1100

    oklch(22.1% 0.058 50.8)

  • #1C1D00

    #1C1D00

    oklch(22.2% 0.049 111.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021742

    #021742

    oklch(22.1% 0.087 261)

  • #3A0108

    #3A0108

    oklch(22.2% 0.087 20.7)

  • #032200

    #032200

    oklch(22% 0.072 140.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021742

    #021742

    oklch(22.1% 0.087 261)

  • #350220

    #350220

    oklch(22% 0.087 350.1)

  • #251800

    #251800

    oklch(22% 0.045 81.8)

  • #002118

    #002118

    oklch(22.1% 0.043 171.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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