#024171

Closest named color: Twilight Blue (#0A437A). oklch(36.8% 0.1 249.1), rgb(2, 65, 113).

Aa

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

About this color

#024171 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.100 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.017 away. White text reads best on it, at 10.51:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.99:1
White text10.51:1

Values

HEX#024171
RGBrgb(2, 65, 113)
HSLhsl(206, 97%, 23%)
OKLCHoklch(36.8% 0.1 249.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 #024171 10.51:1 AAA Lc -97.9 Preferred for body text
Black text on #024171 1.99:1 Fails Lc 10.1 Not readable
#024171 text on white 10.51:1 AAA Lc 93.9 Preferred for body text
#024171 text on black 1.99:1 Fails Lc -8.7 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 900.

  1. Step 50

    50

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C5DCF4

    oklch(88.5% 0.041 249.4)

  4. Step 300

    300

    #9BC5F0

    oklch(80.9% 0.076 249.4)

  5. Step 400

    400

    #61A6E8

    oklch(70.7% 0.12 248.9)

  6. Step 500

    500

    #2C8EE1

    oklch(63.2% 0.153 248.9)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518C

    oklch(42.7% 0.118 249.2)

  10. Step 900

    900 (this color)

    #024171

    oklch(36.8% 0.1 249.1)

  11. Step 950

    950

    #082844

    oklch(27% 0.064 249)

Export this scale for Tailwind in the Tailwind colors tool

#024171 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)#2944730.032
Deuteranopia (no green cones)#163B700.019
Tritanopia (no blue cones)#004D530.073
Achromatopsia (no color)#3F3F3F0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #024171

    #024171

    oklch(36.8% 0.1 249.1)

  • #5A3600

    #5A3600

    oklch(36.8% 0.08 69.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #024171

    #024171

    oklch(36.8% 0.1 249.1)

  • #004757

    #004757

    oklch(36.8% 0.067 219.3)

  • #353772

    #353772

    oklch(36.8% 0.099 278.9)

Open the analogous palette in the generator

Split complementary

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

  • #024171

    #024171

    oklch(36.8% 0.1 249.1)

  • #692810

    #692810

    oklch(36.8% 0.1 39.4)

  • #493F00

    #493F00

    oklch(36.7% 0.076 99.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #024171

    #024171

    oklch(36.8% 0.1 249.1)

  • #692334

    #692334

    oklch(36.7% 0.101 8.7)

  • #2F4800

    #2F4800

    oklch(36.7% 0.097 128.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #024171

    #024171

    oklch(36.8% 0.1 249.1)

  • #602650

    #602650

    oklch(36.8% 0.101 339.5)

  • #5A3600

    #5A3600

    oklch(36.8% 0.08 69.1)

  • #004C2E

    #004C2E

    oklch(36.7% 0.085 158.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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