#02579D

Closest named color: Dusk Blue (#26538D). oklch(45.4% 0.133 251.7), rgb(2, 87, 157).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.85:1
White text7.36:1

Values

HEX#02579D
RGBrgb(2, 87, 157)
HSLhsl(207, 97%, 31%)
OKLCHoklch(45.4% 0.133 251.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 #02579D 7.36:1 AAA Lc -89.8 Fine for body text
Black text on #02579D 2.85:1 Fails Lc 19.1 Dividers and decoration only
#02579D text on white 7.36:1 AAA Lc 84.9 Fine for body text
#02579D text on black 2.85:1 Fails Lc -17.1 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C5DCF6

    oklch(88.6% 0.044 251.5)

  4. Step 300

    300

    #9CC5F2

    oklch(81% 0.078 251.1)

  5. Step 400

    400

    #63A5EC

    oklch(70.8% 0.125 251.6)

  6. Step 500

    500

    #318CE6

    oklch(63.1% 0.16 251.8)

  7. Step 600

    600

    #0074CF

    oklch(55.5% 0.165 251.7)

  8. Step 700

    700

    #0061AF

    oklch(49% 0.146 251.8)

  9. Step 800

    800 (this color)

    #02579D

    oklch(45.4% 0.133 251.7)

  10. Step 900

    900

    #0A4376

    oklch(37.8% 0.103 251.2)

  11. Step 950

    950

    #092745

    oklch(26.9% 0.066 251.7)

Export this scale for Tailwind in the Tailwind colors tool

#02579D 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)#325DA00.036
Deuteranopia (no green cones)#10509C0.019
Tritanopia (no blue cones)#0068720.098
Achromatopsia (no color)#5656560.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #02579D

    #02579D

    oklch(45.4% 0.133 251.7)

  • #774C00

    #774C00

    oklch(45.4% 0.097 72.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02579D

    #02579D

    oklch(45.4% 0.133 251.7)

  • #006077

    #006077

    oklch(45.3% 0.083 221.6)

  • #4C499D

    #4C499D

    oklch(45.4% 0.133 281.3)

Open the analogous palette in the generator

Split complementary

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

  • #02579D

    #02579D

    oklch(45.4% 0.133 251.7)

  • #903506

    #903506

    oklch(45.3% 0.133 41.8)

  • #615700

    #615700

    oklch(45.2% 0.095 101.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02579D

    #02579D

    oklch(45.4% 0.133 251.7)

  • #912E43

    #912E43

    oklch(45.5% 0.133 11.6)

  • #3B6300

    #3B6300

    oklch(45.2% 0.125 131.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02579D

    #02579D

    oklch(45.4% 0.133 251.7)

  • #85326B

    #85326B

    oklch(45.4% 0.133 341.8)

  • #774C00

    #774C00

    oklch(45.4% 0.097 72.2)

  • #006744

    #006744

    oklch(45.4% 0.1 161.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02579D 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.