#02173A

Closest named color: Navy Blue (#001146). oklch(21.3% 0.074 258.7), rgb(2, 23, 58).

Aa

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

About this color

#02173A is a very dark, moderately saturated blue. In OKLCH its lightness is 21%, its chroma 0.074 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.029 away. White text reads best on it, at 17.70:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.18:1
White text17.70:1

Values

HEX#02173A
RGBrgb(2, 23, 58)
HSLhsl(218, 93%, 12%)
OKLCHoklch(21.3% 0.074 258.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 #02173A 17.70:1 AAA Lc -106.5 Preferred for body text
Black text on #02173A 1.18:1 Fails Lc 0.0 Not readable
#02173A text on white 17.70:1 AAA Lc 104.2 Preferred for body text
#02173A 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9EC2F9

    oklch(80.8% 0.088 258.7)

  5. Step 400

    400

    #69A1F7

    oklch(70.8% 0.14 258.7)

  6. Step 500

    500

    #3E86F3

    oklch(63% 0.179 258.7)

  7. Step 600

    600

    #196DE2

    oklch(55.6% 0.194 258.6)

  8. Step 700

    700

    #095AC4

    oklch(49.1% 0.18 258.6)

  9. Step 800

    800

    #0E4A9F

    oklch(42.7% 0.15 258.8)

  10. Step 900

    900

    #153F7E

    oklch(37.7% 0.117 258.8)

  11. Step 950

    950 (this color)

    #02173A

    oklch(21.3% 0.074 258.7)

Export this scale for Tailwind in the Tailwind colors tool

#02173A 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)#011B3B0.013
Deuteranopia (no green cones)#0016390.005
Tritanopia (no blue cones)#0020250.058
Achromatopsia (no color)#1818180.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #02173A

    #02173A

    oklch(21.3% 0.074 258.7)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02173A

    #02173A

    oklch(21.3% 0.074 258.7)

  • #001C28

    #001C28

    oklch(21.2% 0.042 229.3)

  • #191038

    #191038

    oklch(21.2% 0.074 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #02173A

    #02173A

    oklch(21.3% 0.074 258.7)

  • #2D0F00

    #2D0F00

    oklch(21.3% 0.057 49.1)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02173A

    #02173A

    oklch(21.3% 0.074 258.7)

  • #33050B

    #33050B

    oklch(21.2% 0.073 18.4)

  • #062000

    #062000

    oklch(21.4% 0.067 138.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02173A

    #02173A

    oklch(21.3% 0.074 258.7)

  • #2F061E

    #2F061E

    oklch(21.2% 0.073 348.9)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

  • #001F15

    #001F15

    oklch(21.3% 0.043 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02173A 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.