#054F97

Closest named color: Cobalt (#1E488F). oklch(43.1% 0.135 254.2), rgb(5, 79, 151).

Aa

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

About this color

#054F97 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.135 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.023 away. White text reads best on it, at 8.16:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.57:1
White text8.16:1

Values

HEX#054F97
RGBrgb(5, 79, 151)
HSLhsl(210, 94%, 31%)
OKLCHoklch(43.1% 0.135 254.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 #054F97 8.16:1 AAA Lc -92.3 Preferred for body text
Black text on #054F97 2.57:1 Fails Lc 16.4 Dividers and decoration only
#054F97 text on white 8.16:1 AAA Lc 87.6 Fine for body text
#054F97 text on black 2.57:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9EC4F3

    oklch(80.9% 0.078 254)

  5. Step 400

    400

    #67A3ED

    oklch(70.6% 0.126 254.4)

  6. Step 500

    500

    #398AE7

    oklch(63% 0.161 254.2)

  7. Step 600

    600

    #0872D6

    oklch(55.6% 0.175 254.2)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800 (this color)

    #054F97

    oklch(43.1% 0.135 254.2)

  10. Step 900

    900

    #114277

    oklch(37.8% 0.104 253.8)

  11. Step 950

    950

    #0C2746

    oklch(27.1% 0.066 254)

Export this scale for Tailwind in the Tailwind colors tool

#054F97 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)#26569A0.030
Deuteranopia (no green cones)#004A960.015
Tritanopia (no blue cones)#00616B0.102
Achromatopsia (no color)#4F4F4F0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #054F97

    #054F97

    oklch(43.1% 0.135 254.2)

  • #6D4700

    #6D4700

    oklch(43% 0.091 74.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #054F97

    #054F97

    oklch(43.1% 0.135 254.2)

  • #005971

    #005971

    oklch(43.1% 0.081 224.2)

  • #4A4196

    #4A4196

    oklch(43.2% 0.134 284)

Open the analogous palette in the generator

Split complementary

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

  • #054F97

    #054F97

    oklch(43.1% 0.135 254.2)

  • #853300

    #853300

    oklch(43.1% 0.125 44.4)

  • #585200

    #585200

    oklch(43.1% 0.091 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #054F97

    #054F97

    oklch(43.1% 0.135 254.2)

  • #8A2639

    #8A2639

    oklch(43.1% 0.134 14)

  • #305E00

    #305E00

    oklch(43.2% 0.125 134.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #054F97

    #054F97

    oklch(43.1% 0.135 254.2)

  • #7F2A62

    #7F2A62

    oklch(43.1% 0.134 343.8)

  • #6D4700

    #6D4700

    oklch(43% 0.091 74.3)

  • #005F42

    #005F42

    oklch(43% 0.092 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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