#02477E

Closest named color: Twilight Blue (#0A437A). oklch(39.2% 0.111 250.4), rgb(2, 71, 126).

Aa

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

About this color

#02477E is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.111 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.013 away. White text reads best on it, at 9.52:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.20:1
White text9.52:1

Values

HEX#02477E
RGBrgb(2, 71, 126)
HSLhsl(207, 97%, 25%)
OKLCHoklch(39.2% 0.111 250.4)

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 #02477E 9.52:1 AAA Lc -95.8 Preferred for body text
Black text on #02477E 2.20:1 Fails Lc 12.5 Not readable
#02477E text on white 9.52:1 AAA Lc 91.5 Preferred for body text
#02477E text on black 2.20:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEEBFA

    oklch(93.5% 0.025 251.9)

  3. Step 200

    200

    #C3DCF7

    oklch(88.5% 0.046 250.4)

  4. Step 300

    300

    #98C5F5

    oklch(80.9% 0.083 250.5)

  5. Step 400

    400

    #5BA5F0

    oklch(70.6% 0.133 250.5)

  6. Step 500

    500

    #1C8CEB

    oklch(63% 0.17 250.5)

  7. Step 600

    600

    #0075CC

    oklch(55.6% 0.16 250.6)

  8. Step 700

    700

    #0062AC

    oklch(49% 0.141 250.5)

  9. Step 800

    800

    #00508E

    oklch(42.6% 0.122 250.5)

  10. Step 900

    900 (this color)

    #02477E

    oklch(39.2% 0.111 250.4)

  11. Step 950

    950

    #052747

    oklch(26.9% 0.071 251)

Export this scale for Tailwind in the Tailwind colors tool

#02477E 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)#2B4B800.033
Deuteranopia (no green cones)#14417D0.018
Tritanopia (no blue cones)#00545C0.080
Achromatopsia (no color)#4545450.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #02477E

    #02477E

    oklch(39.2% 0.111 250.4)

  • #623C00

    #623C00

    oklch(39.2% 0.085 70)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02477E

    #02477E

    oklch(39.2% 0.111 250.4)

  • #004E60

    #004E60

    oklch(39.2% 0.071 220.1)

  • #3C3C7F

    #3C3C7F

    oklch(39.3% 0.11 280.1)

Open the analogous palette in the generator

Split complementary

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

  • #02477E

    #02477E

    oklch(39.2% 0.111 250.4)

  • #742B0D

    #742B0D

    oklch(39.1% 0.11 40.3)

  • #504600

    #504600

    oklch(39.2% 0.082 100)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02477E

    #02477E

    oklch(39.2% 0.111 250.4)

  • #752637

    #752637

    oklch(39.3% 0.111 10.9)

  • #315000

    #315000

    oklch(39.2% 0.106 130.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02477E

    #02477E

    oklch(39.2% 0.111 250.4)

  • #6B2958

    #6B2958

    oklch(39.3% 0.112 340.3)

  • #623C00

    #623C00

    oklch(39.2% 0.085 70)

  • #005435

    #005435

    oklch(39.3% 0.089 160.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02477E 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.