#021328

Closest named color: Rich Navy (#001219). oklch(18.5% 0.05 252.7), rgb(2, 19, 40).

Aa

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

About this color

#021328 is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.050 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.032 away. White text reads best on it, at 18.64:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.050)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.12:1
White text18.64:1

Values

HEX#021328
RGBrgb(2, 19, 40)
HSLhsl(213, 90%, 8%)
OKLCHoklch(18.5% 0.05 252.7)

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 #021328 18.64:1 AAA Lc -107.1 Preferred for body text
Black text on #021328 1.12:1 Fails Lc 0.0 Not readable
#021328 text on white 18.64:1 AAA Lc 105.0 Preferred for body text
#021328 text on black 1.12: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

    #CADBEF

    oklch(88.5% 0.033 252.5)

  4. Step 300

    300

    #A6C4E6

    oklch(81% 0.058 251.8)

  5. Step 400

    400

    #75A4DA

    oklch(70.6% 0.094 252.5)

  6. Step 500

    500

    #508CD0

    oklch(63% 0.121 252.9)

  7. Step 600

    600

    #3275BD

    oklch(55.5% 0.131 252.7)

  8. Step 700

    700

    #2462A3

    oklch(49% 0.122 252.6)

  9. Step 800

    800

    #205084

    oklch(42.6% 0.101 252.8)

  10. Step 900

    900

    #20436A

    oklch(37.7% 0.079 252.8)

  11. Step 950

    950 (this color)

    #021328

    oklch(18.5% 0.05 252.7)

Export this scale for Tailwind in the Tailwind colors tool

#021328 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)#0915290.014
Deuteranopia (no green cones)#0311280.007
Tritanopia (no blue cones)#00181B0.037
Achromatopsia (no color)#1313130.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #021328

    #021328

    oklch(18.5% 0.05 252.7)

  • #1D0F00

    #1D0F00

    oklch(18.4% 0.039 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021328

    #021328

    oklch(18.5% 0.05 252.7)

  • #00161E

    #00161E

    oklch(18.6% 0.035 223)

  • #100F28

    #100F28

    oklch(18.6% 0.05 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #021328

    #021328

    oklch(18.5% 0.05 252.7)

  • #240901

    #240901

    oklch(18.4% 0.051 43.1)

  • #161300

    #161300

    oklch(18.5% 0.039 102.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021328

    #021328

    oklch(18.5% 0.05 252.7)

  • #24070C

    #24070C

    oklch(18.3% 0.05 12.6)

  • #091701

    #091701

    oklch(18.5% 0.049 133.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021328

    #021328

    oklch(18.5% 0.05 252.7)

  • #210819

    #210819

    oklch(18.5% 0.051 341.7)

  • #1D0F00

    #1D0F00

    oklch(18.4% 0.039 71.9)

  • #00180D

    #00180D

    oklch(18.5% 0.04 162.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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