#054A71

Closest named color: Twilight Blue (#0A437A). oklch(39.2% 0.09 241.8), rgb(5, 74, 113).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.22:1
White text9.44:1

Values

HEX#054A71
RGBrgb(5, 74, 113)
HSLhsl(202, 92%, 23%)
OKLCHoklch(39.2% 0.09 241.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 #054A71 9.44:1 AAA Lc -95.7 Preferred for body text
Black text on #054A71 2.22:1 Fails Lc 12.6 Not readable
#054A71 text on white 9.44:1 AAA Lc 91.4 Preferred for body text
#054A71 text on black 2.22:1 Fails Lc -11.0 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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C4DDF0

    oklch(88.5% 0.037 240.7)

  4. Step 300

    300

    #9AC7E9

    oklch(80.9% 0.068 241.3)

  5. Step 400

    400

    #5FA9DE

    oklch(70.8% 0.107 241.6)

  6. Step 500

    500

    #2392D5

    oklch(63.2% 0.138 241.7)

  7. Step 600

    600

    #007AB9

    oklch(55.5% 0.132 242.1)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #005481

    oklch(42.7% 0.101 241.9)

  10. Step 900

    900 (this color)

    #054A71

    oklch(39.2% 0.09 241.8)

  11. Step 950

    950

    #062940

    oklch(27% 0.058 242.5)

Export this scale for Tailwind in the Tailwind colors tool

#054A71 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)#374B730.042
Deuteranopia (no green cones)#2942700.032
Tritanopia (no blue cones)#0054580.061
Achromatopsia (no color)#4646460.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #054A71

    #054A71

    oklch(39.2% 0.09 241.8)

  • #673801

    #673801

    oklch(39.1% 0.09 61.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #054A71

    #054A71

    oklch(39.2% 0.09 241.8)

  • #004F5B

    #004F5B

    oklch(39.3% 0.068 212.1)

  • #354175

    #354175

    oklch(39.2% 0.089 271.9)

Open the analogous palette in the generator

Split complementary

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

  • #054A71

    #054A71

    oklch(39.2% 0.09 241.8)

  • #6E3025

    #6E3025

    oklch(39.2% 0.091 31.7)

  • #554300

    #554300

    oklch(39.1% 0.08 91.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #054A71

    #054A71

    oklch(39.2% 0.09 241.8)

  • #6B2E42

    #6B2E42

    oklch(39.1% 0.09 1.5)

  • #3E4C08

    #3E4C08

    oklch(39.1% 0.089 121.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #054A71

    #054A71

    oklch(39.2% 0.09 241.8)

  • #61315B

    #61315B

    oklch(39.2% 0.091 332)

  • #673801

    #673801

    oklch(39.1% 0.09 61.3)

  • #15532C

    #15532C

    oklch(39.3% 0.09 151.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #054A71 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.