#021B4D

Closest named color: Navy Blue (#001146). oklch(24.2% 0.098 261.2), rgb(2, 27, 77).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.26:1
White text16.58:1

Values

HEX#021B4D
RGBrgb(2, 27, 77)
HSLhsl(220, 95%, 15%)
OKLCHoklch(24.2% 0.098 261.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 #021B4D 16.58:1 AAA Lc -105.6 Preferred for body text
Black text on #021B4D 1.26:1 Fails Lc 0.0 Not readable
#021B4D text on white 16.58:1 AAA Lc 103.1 Preferred for body text
#021B4D text on black 1.26: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

    #DFEBFF

    oklch(93.7% 0.03 260.7)

  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

    #699FFF

    oklch(70.8% 0.152 261.1)

  6. Step 500

    500

    #3E82FF

    oklch(63% 0.199 261.3)

  7. Step 600

    600

    #0063FE

    oklch(55.7% 0.243 261.2)

  8. Step 700

    700

    #0052D7

    oklch(49% 0.215 261.2)

  9. Step 800

    800

    #0043B2

    oklch(42.7% 0.186 261.1)

  10. Step 900

    900

    #063991

    oklch(37.6% 0.154 261.1)

  11. Step 950

    950 (this color)

    #021B4D

    oklch(24.2% 0.098 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#021B4D 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)#00224F0.021
Deuteranopia (no green cones)#001B4C0.003
Tritanopia (no blue cones)#0028310.074
Achromatopsia (no color)#1E1E1E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #021B4D

    #021B4D

    oklch(24.2% 0.098 261.2)

  • #2C1D00

    #2C1D00

    oklch(24.3% 0.05 81.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021B4D

    #021B4D

    oklch(24.2% 0.098 261.2)

  • #002333

    #002333

    oklch(24.1% 0.05 232.8)

  • #221149

    #221149

    oklch(24.1% 0.098 291.2)

Open the analogous palette in the generator

Split complementary

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

  • #021B4D

    #021B4D

    oklch(24.2% 0.098 261.2)

  • #361500

    #361500

    oklch(24.2% 0.063 51.5)

  • #212200

    #212200

    oklch(24.3% 0.054 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021B4D

    #021B4D

    oklch(24.2% 0.098 261.2)

  • #430009

    #430009

    oklch(24.2% 0.097 21.2)

  • #032800

    #032800

    oklch(24.1% 0.08 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021B4D

    #021B4D

    oklch(24.2% 0.098 261.2)

  • #3E0125

    #3E0125

    oklch(24.1% 0.098 351)

  • #2C1D00

    #2C1D00

    oklch(24.3% 0.05 81.3)

  • #00271D

    #00271D

    oklch(24.3% 0.047 171.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #021B4D 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.