#021A3F

Closest named color: Navy Blue (#001146). oklch(22.6% 0.077 258.1), rgb(2, 26, 63).

Aa

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

About this color

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

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

Values

HEX#021A3F
RGBrgb(2, 26, 63)
HSLhsl(216, 94%, 13%)
OKLCHoklch(22.6% 0.077 258.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 #021A3F 17.18:1 AAA Lc -106.2 Preferred for body text
Black text on #021A3F 1.22:1 Fails Lc 0.0 Not readable
#021A3F text on white 17.18:1 AAA Lc 103.8 Preferred for body text
#021A3F text on black 1.22: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FC

    oklch(81% 0.091 257.8)

  5. Step 400

    400

    #64A1FB

    oklch(70.8% 0.147 258)

  6. Step 500

    500

    #3686F8

    oklch(63.1% 0.187 258)

  7. Step 600

    600

    #056CE7

    oklch(55.6% 0.204 258.1)

  8. Step 700

    700

    #005AC5

    oklch(49.1% 0.183 258.1)

  9. Step 800

    800

    #024AA2

    oklch(42.7% 0.156 257.9)

  10. Step 900

    900

    #0F3F81

    oklch(37.8% 0.122 258)

  11. Step 950

    950 (this color)

    #021A3F

    oklch(22.6% 0.077 258.1)

Export this scale for Tailwind in the Tailwind colors tool

#021A3F 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)#031E400.013
Deuteranopia (no green cones)#00193E0.005
Tritanopia (no blue cones)#0023290.059
Achromatopsia (no color)#1B1B1B0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #021A3F

    #021A3F

    oklch(22.6% 0.077 258.1)

  • #281900

    #281900

    oklch(22.7% 0.047 78.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021A3F

    #021A3F

    oklch(22.6% 0.077 258.1)

  • #00202C

    #00202C

    oklch(22.7% 0.044 227)

  • #1C133D

    #1C133D

    oklch(22.6% 0.077 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #021A3F

    #021A3F

    oklch(22.6% 0.077 258.1)

  • #321100

    #321100

    oklch(22.7% 0.061 48.4)

  • #1E1D00

    #1E1D00

    oklch(22.5% 0.048 107.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021A3F

    #021A3F

    oklch(22.6% 0.077 258.1)

  • #38060D

    #38060D

    oklch(22.5% 0.077 18.4)

  • #082300

    #082300

    oklch(22.6% 0.07 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021A3F

    #021A3F

    oklch(22.6% 0.077 258.1)

  • #340722

    #340722

    oklch(22.6% 0.078 348.3)

  • #281900

    #281900

    oklch(22.7% 0.047 78.6)

  • #002218

    #002218

    oklch(22.4% 0.045 169.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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