#02579A

Closest named color: Dusk Blue (#26538D). oklch(45.1% 0.129 250.8), rgb(2, 87, 154).

Aa

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

About this color

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

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

Values

HEX#02579A
RGBrgb(2, 87, 154)
HSLhsl(206, 97%, 31%)
OKLCHoklch(45.1% 0.129 250.8)

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 #02579A 7.41:1 AAA Lc -90.0 Preferred for body text
Black text on #02579A 2.83:1 Fails Lc 18.9 Dividers and decoration only
#02579A text on white 7.41:1 AAA Lc 85.1 Fine for body text
#02579A text on black 2.83:1 Fails Lc -16.9 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

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C5DCF5

    oklch(88.5% 0.042 250.5)

  4. Step 300

    300

    #9CC5F0

    oklch(80.9% 0.075 250)

  5. Step 400

    400

    #64A5E9

    oklch(70.7% 0.121 250.9)

  6. Step 500

    500

    #328DE3

    oklch(63.2% 0.155 250.8)

  7. Step 600

    600

    #0075CD

    oklch(55.6% 0.161 250.9)

  8. Step 700

    700

    #0062AD

    oklch(49.1% 0.142 250.8)

  9. Step 800

    800 (this color)

    #02579A

    oklch(45.1% 0.129 250.8)

  10. Step 900

    900

    #0B4375

    oklch(37.8% 0.101 251)

  11. Step 950

    950

    #0A2844

    oklch(27.1% 0.063 250.1)

Export this scale for Tailwind in the Tailwind colors tool

#02579A 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)#345C9D0.036
Deuteranopia (no green cones)#1750990.020
Tritanopia (no blue cones)#0067710.093
Achromatopsia (no color)#5555550.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #02579A

    #02579A

    oklch(45.1% 0.129 250.8)

  • #774B00

    #774B00

    oklch(45.2% 0.097 71.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02579A

    #02579A

    oklch(45.1% 0.129 250.8)

  • #006076

    #006076

    oklch(45.3% 0.083 220.6)

  • #4B499B

    #4B499B

    oklch(45.1% 0.13 280.9)

Open the analogous palette in the generator

Split complementary

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

  • #02579A

    #02579A

    oklch(45.1% 0.129 250.8)

  • #8E360E

    #8E360E

    oklch(45.2% 0.129 41.2)

  • #615600

    #615600

    oklch(45% 0.094 100.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02579A

    #02579A

    oklch(45.1% 0.129 250.8)

  • #8E2F44

    #8E2F44

    oklch(45.1% 0.129 10.7)

  • #3D6200

    #3D6200

    oklch(45.1% 0.122 130.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02579A

    #02579A

    oklch(45.1% 0.129 250.8)

  • #83336B

    #83336B

    oklch(45.2% 0.129 340.9)

  • #774B00

    #774B00

    oklch(45.2% 0.097 71.2)

  • #006643

    #006643

    oklch(45.1% 0.1 161.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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