#025171

Closest named color: Deep Sea Blue (#015482). oklch(41% 0.085 233.9), rgb(2, 81, 113).

Aa

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

About this color

#025171 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.085 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.029 away. White text reads best on it, at 8.68:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.41:1
White text8.68:1

Values

HEX#025171
RGBrgb(2, 81, 113)
HSLhsl(197, 97%, 23%)
OKLCHoklch(41% 0.085 233.9)

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 #025171 8.68:1 AAA Lc -93.8 Preferred for body text
Black text on #025171 2.41:1 Fails Lc 14.7 Not readable
#025171 text on white 8.68:1 AAA Lc 89.3 Fine for body text
#025171 text on black 2.41:1 Fails Lc -12.9 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 800.

  1. Step 50

    50

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDE9

    oklch(88.6% 0.028 232.7)

  4. Step 300

    300

    #A2C7DC

    oklch(81% 0.049 233.1)

  5. Step 400

    400

    #6DA9CB

    oklch(70.7% 0.08 234.4)

  6. Step 500

    500

    #4193BD

    oklch(63% 0.101 233.9)

  7. Step 600

    600

    #167DAA

    oklch(55.7% 0.11 234.1)

  8. Step 700

    700

    #016992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800 (this color)

    #025171

    oklch(41% 0.085 233.9)

  10. Step 900

    900

    #16475F

    oklch(37.7% 0.066 233.8)

  11. Step 950

    950

    #0F2A38

    oklch(27.1% 0.042 233.9)

Export this scale for Tailwind in the Tailwind colors tool

#025171 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)#4150720.052
Deuteranopia (no green cones)#3347700.043
Tritanopia (no blue cones)#00595C0.050
Achromatopsia (no color)#4B4B4B0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #025171

    #025171

    oklch(41% 0.085 233.9)

  • #6D3C18

    #6D3C18

    oklch(41% 0.084 53.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #025171

    #025171

    oklch(41% 0.085 233.9)

  • #00555C

    #00555C

    oklch(41% 0.07 204.5)

  • #324978

    #324978

    oklch(41% 0.084 263.4)

Open the analogous palette in the generator

Split complementary

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

  • #025171

    #025171

    oklch(41% 0.085 233.9)

  • #713633

    #713633

    oklch(41% 0.084 24.4)

  • #604600

    #604600

    oklch(41.1% 0.084 84.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #025171

    #025171

    oklch(41% 0.085 233.9)

  • #6D354E

    #6D354E

    oklch(41% 0.085 353.4)

  • #4A4F0D

    #4A4F0D

    oklch(41% 0.085 114)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #025171

    #025171

    oklch(41% 0.085 233.9)

  • #613964

    #613964

    oklch(41% 0.085 324.5)

  • #6D3C18

    #6D3C18

    oklch(41% 0.084 53.8)

  • #2B562B

    #2B562B

    oklch(41% 0.085 143.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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