#02477B

Closest named color: Twilight Blue (#0A437A). oklch(39% 0.107 249.2), rgb(2, 71, 123).

Aa

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

About this color

#02477B is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.107 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.58:1.

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

Values

HEX#02477B
RGBrgb(2, 71, 123)
HSLhsl(206, 97%, 25%)
OKLCHoklch(39% 0.107 249.2)

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 #02477B 9.58:1 AAA Lc -95.9 Preferred for body text
Black text on #02477B 2.18:1 Fails Lc 12.3 Not readable
#02477B text on white 9.58:1 AAA Lc 91.6 Preferred for body text
#02477B 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEECF9

    oklch(93.6% 0.023 246)

  3. Step 200

    200

    #C3DCF6

    oklch(88.4% 0.045 249.4)

  4. Step 300

    300

    #99C5F3

    oklch(80.9% 0.08 250)

  5. Step 400

    400

    #5CA6ED

    oklch(70.8% 0.128 249.2)

  6. Step 500

    500

    #1E8DE7

    oklch(63% 0.164 249.3)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518C

    oklch(42.7% 0.118 249.2)

  10. Step 900

    900 (this color)

    #02477B

    oklch(39% 0.107 249.2)

  11. Step 950

    950

    #052846

    oklch(27.1% 0.068 249.1)

Export this scale for Tailwind in the Tailwind colors tool

#02477B 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)#2D4A7D0.034
Deuteranopia (no green cones)#18407A0.021
Tritanopia (no blue cones)#00545B0.077
Achromatopsia (no color)#4545450.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #02477B

    #02477B

    oklch(39% 0.107 249.2)

  • #623B00

    #623B00

    oklch(39% 0.085 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02477B

    #02477B

    oklch(39% 0.107 249.2)

  • #004E5F

    #004E5F

    oklch(39.2% 0.071 218.9)

  • #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°).

  • #02477B

    #02477B

    oklch(39% 0.107 249.2)

  • #732C12

    #732C12

    oklch(39.1% 0.107 39.3)

  • #504500

    #504500

    oklch(39% 0.081 98.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02477B

    #02477B

    oklch(39% 0.107 249.2)

  • #722739

    #722739

    oklch(39% 0.107 8.9)

  • #334F00

    #334F00

    oklch(39% 0.104 129.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02477B

    #02477B

    oklch(39% 0.107 249.2)

  • #682A58

    #682A58

    oklch(39% 0.107 338.6)

  • #623B00

    #623B00

    oklch(39% 0.085 68.8)

  • #005333

    #005333

    oklch(39% 0.089 159.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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