#054895

Closest named color: Cobalt (#1E488F). oklch(41.3% 0.14 256.7), rgb(5, 72, 149).

Aa

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

About this color

#054895 is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.140 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.016 away. White text reads best on it, at 8.87:1.

Hue familyBlues
Lightnessdark (41%)
Chromavivid (0.140)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.36:1
White text8.87:1

Values

HEX#054895
RGBrgb(5, 72, 149)
HSLhsl(212, 94%, 30%)
OKLCHoklch(41.3% 0.14 256.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 #054895 8.87:1 AAA Lc -94.1 Preferred for body text
Black text on #054895 2.36:1 Fails Lc 14.3 Not readable
#054895 text on white 8.87:1 AAA Lc 89.6 Fine for body text
#054895 text on black 2.36:1 Fails Lc -12.6 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

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF8

    oklch(88.5% 0.046 256.5)

  4. Step 300

    300

    #9FC3F6

    oklch(80.9% 0.082 257.1)

  5. Step 400

    400

    #69A2F1

    oklch(70.7% 0.131 256.8)

  6. Step 500

    500

    #3D88EC

    oklch(63% 0.168 256.7)

  7. Step 600

    600

    #1670DB

    oklch(55.7% 0.182 256.6)

  8. Step 700

    700

    #045DBE

    oklch(49.2% 0.169 256.6)

  9. Step 800

    800 (this color)

    #054895

    oklch(41.3% 0.14 256.7)

  10. Step 900

    900

    #14407A

    oklch(37.6% 0.11 256.9)

  11. Step 950

    950

    #0D2647

    oklch(26.9% 0.069 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#054895 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)#1450980.025
Deuteranopia (no green cones)#0044940.012
Tritanopia (no blue cones)#005B670.106
Achromatopsia (no color)#4A4A4A0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #054895

    #054895

    oklch(41.3% 0.14 256.7)

  • #654400

    #654400

    oklch(41.3% 0.086 77.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #054895

    #054895

    oklch(41.3% 0.14 256.7)

  • #00536C

    #00536C

    oklch(41.2% 0.079 226.7)

  • #493992

    #493992

    oklch(41.3% 0.14 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #054895

    #054895

    oklch(41.3% 0.14 256.7)

  • #7B3200

    #7B3200

    oklch(41.3% 0.115 46.7)

  • #514E00

    #514E00

    oklch(41.3% 0.089 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #054895

    #054895

    oklch(41.3% 0.14 256.7)

  • #871C2F

    #871C2F

    oklch(41.3% 0.141 16.6)

  • #265900

    #265900

    oklch(41.2% 0.124 136.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #054895

    #054895

    oklch(41.3% 0.14 256.7)

  • #7D205A

    #7D205A

    oklch(41.3% 0.141 346.7)

  • #654400

    #654400

    oklch(41.3% 0.086 77.3)

  • #005941

    #005941

    oklch(41.2% 0.084 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #054895 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.