#02477A

Closest named color: Twilight Blue (#0A437A). oklch(39% 0.105 248.7), rgb(2, 71, 122).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.18:1
White text9.61:1

Values

HEX#02477A
RGBrgb(2, 71, 122)
HSLhsl(206, 97%, 24%)
OKLCHoklch(39% 0.105 248.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 #02477A 9.61:1 AAA Lc -96.0 Preferred for body text
Black text on #02477A 2.18:1 Fails Lc 12.3 Not readable
#02477A text on white 9.61:1 AAA Lc 91.7 Preferred for body text
#02477A text on black 2.18:1 Fails Lc -10.7 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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF9

    oklch(93.7% 0.022 248.1)

  3. Step 200

    200

    #C3DCF6

    oklch(88.4% 0.045 249.4)

  4. Step 300

    300

    #99C5F2

    oklch(80.8% 0.079 249.4)

  5. Step 400

    400

    #5CA6EC

    oklch(70.7% 0.127 248.9)

  6. Step 500

    500

    #1F8EE6

    oklch(63.2% 0.162 248.7)

  7. Step 600

    600

    #0077C7

    oklch(55.7% 0.152 248.5)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518B

    oklch(42.6% 0.117 248.8)

  10. Step 900

    900 (this color)

    #02477A

    oklch(39% 0.105 248.7)

  11. Step 950

    950

    #052845

    oklch(27% 0.066 248.3)

Export this scale for Tailwind in the Tailwind colors tool

#02477A 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)#2D4A7C0.034
Deuteranopia (no green cones)#1A40790.022
Tritanopia (no blue cones)#00535A0.075
Achromatopsia (no color)#4545450.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #02477A

    #02477A

    oklch(39% 0.105 248.7)

  • #623B00

    #623B00

    oklch(39% 0.085 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02477A

    #02477A

    oklch(39% 0.105 248.7)

  • #004D5E

    #004D5E

    oklch(38.8% 0.07 219.1)

  • #3A3C7C

    #3A3C7C

    oklch(38.9% 0.106 278.9)

Open the analogous palette in the generator

Split complementary

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

  • #02477A

    #02477A

    oklch(39% 0.105 248.7)

  • #722C14

    #722C14

    oklch(39% 0.105 38.6)

  • #504500

    #504500

    oklch(39% 0.081 98.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02477A

    #02477A

    oklch(39% 0.105 248.7)

  • #712739

    #712739

    oklch(38.8% 0.105 8.6)

  • #344F00

    #344F00

    oklch(39.1% 0.103 128.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02477A

    #02477A

    oklch(39% 0.105 248.7)

  • #672B58

    #672B58

    oklch(39% 0.105 338.1)

  • #623B00

    #623B00

    oklch(39% 0.085 68.8)

  • #005332

    #005332

    oklch(39% 0.09 158.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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