#025791

Closest named color: Dusk Blue (#26538D). oklch(44.5% 0.118 247.6), rgb(2, 87, 145).

Aa

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

About this color

#025791 is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.118 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.019 away. White text reads best on it, at 7.56:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.77:1
White text7.56:1

Values

HEX#025791
RGBrgb(2, 87, 145)
HSLhsl(204, 97%, 29%)
OKLCHoklch(44.5% 0.118 247.6)

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 #025791 7.56:1 AAA Lc -90.5 Preferred for body text
Black text on #025791 2.77:1 Fails Lc 18.3 Dividers and decoration only
#025791 text on white 7.56:1 AAA Lc 85.7 Fine for body text
#025791 text on black 2.77:1 Fails Lc -16.3 Dividers and decoration only

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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C6DCF2

    oklch(88.5% 0.038 248.3)

  4. Step 300

    300

    #9EC5EB

    oklch(80.8% 0.068 248)

  5. Step 400

    400

    #65A6E2

    oklch(70.6% 0.111 247.8)

  6. Step 500

    500

    #348FD9

    oklch(63.1% 0.14 247.2)

  7. Step 600

    600

    #0077C5

    oklch(55.6% 0.149 247.9)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800 (this color)

    #025791

    oklch(44.5% 0.118 247.6)

  10. Step 900

    900

    #0D446F

    oklch(37.6% 0.091 247.7)

  11. Step 950

    950

    #0B2841

    oklch(26.9% 0.058 248)

Export this scale for Tailwind in the Tailwind colors tool

#025791 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)#3A5A930.040
Deuteranopia (no green cones)#244F900.026
Tritanopia (no blue cones)#00656D0.083
Achromatopsia (no color)#5454540.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #025791

    #025791

    oklch(44.5% 0.118 247.6)

  • #774800

    #774800

    oklch(44.6% 0.098 68.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #025791

    #025791

    oklch(44.5% 0.118 247.6)

  • #005E71

    #005E71

    oklch(44.5% 0.08 217.9)

  • #464B94

    #464B94

    oklch(44.7% 0.118 277.6)

Open the analogous palette in the generator

Split complementary

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

  • #025791

    #025791

    oklch(44.5% 0.118 247.6)

  • #88371E

    #88371E

    oklch(44.5% 0.117 37.5)

  • #625400

    #625400

    oklch(44.6% 0.092 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #025791

    #025791

    oklch(44.5% 0.118 247.6)

  • #873248

    #873248

    oklch(44.4% 0.118 7.3)

  • #425F00

    #425F00

    oklch(44.6% 0.116 127.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #025791

    #025791

    oklch(44.5% 0.118 247.6)

  • #7B366B

    #7B366B

    oklch(44.5% 0.118 337.1)

  • #774800

    #774800

    oklch(44.6% 0.098 68.1)

  • #00653C

    #00653C

    oklch(44.6% 0.106 157.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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