#02457F

Closest named color: Twilight Blue (#0A437A). oklch(38.8% 0.115 252), rgb(2, 69, 127).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.16:1
White text9.72:1

Values

HEX#02457F
RGBrgb(2, 69, 127)
HSLhsl(208, 97%, 25%)
OKLCHoklch(38.8% 0.115 252)

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 #02457F 9.72:1 AAA Lc -96.2 Preferred for body text
Black text on #02457F 2.16:1 Fails Lc 12.0 Not readable
#02457F text on white 9.72:1 AAA Lc 91.9 Preferred for body text
#02457F text on black 2.16:1 Fails Lc -10.5 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

    #DEEBFB

    oklch(93.5% 0.026 253.6)

  3. Step 200

    200

    #C3DCF9

    oklch(88.5% 0.048 252.2)

  4. Step 300

    300

    #98C5F7

    oklch(81% 0.086 251.5)

  5. Step 400

    400

    #5CA4F3

    oklch(70.6% 0.137 252.3)

  6. Step 500

    500

    #1F8BEF

    oklch(63.1% 0.176 252)

  7. Step 600

    600

    #0074D0

    oklch(55.6% 0.166 251.9)

  8. Step 700

    700

    #0061B0

    oklch(49% 0.147 252)

  9. Step 800

    800

    #004F92

    oklch(42.6% 0.129 252.3)

  10. Step 900

    900 (this color)

    #02457F

    oklch(38.8% 0.115 252)

  11. Step 950

    950

    #052748

    oklch(27% 0.072 251.7)

Export this scale for Tailwind in the Tailwind colors tool

#02457F 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)#264A810.030
Deuteranopia (no green cones)#0A3F7E0.017
Tritanopia (no blue cones)#00535B0.084
Achromatopsia (no color)#4444440.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #02457F

    #02457F

    oklch(38.8% 0.115 252)

  • #5F3C00

    #5F3C00

    oklch(38.8% 0.083 72.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02457F

    #02457F

    oklch(38.8% 0.115 252)

  • #004D60

    #004D60

    oklch(38.9% 0.072 221.6)

  • #3D397F

    #3D397F

    oklch(38.8% 0.115 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #02457F

    #02457F

    oklch(38.8% 0.115 252)

  • #742903

    #742903

    oklch(38.8% 0.114 41.9)

  • #4D4500

    #4D4500

    oklch(38.6% 0.081 101.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02457F

    #02457F

    oklch(38.8% 0.115 252)

  • #752334

    #752334

    oklch(38.9% 0.115 12)

  • #2D5000

    #2D5000

    oklch(38.9% 0.109 132.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02457F

    #02457F

    oklch(38.8% 0.115 252)

  • #6B2655

    #6B2655

    oklch(38.7% 0.114 342.1)

  • #5F3C00

    #5F3C00

    oklch(38.8% 0.083 72.6)

  • #005236

    #005236

    oklch(38.8% 0.085 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02457F 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.