#054395

Closest named color: Cobalt (#1E488F). oklch(40.1% 0.147 258.5), rgb(5, 67, 149).

Aa

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

About this color

#054395 is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.147 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.024 away. White text reads best on it, at 9.36:1.

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.147)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.24:1
White text9.36:1

Values

HEX#054395
RGBrgb(5, 67, 149)
HSLhsl(214, 94%, 30%)
OKLCHoklch(40.1% 0.147 258.5)

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 #054395 9.36:1 AAA Lc -95.3 Preferred for body text
Black text on #054395 2.24:1 Fails Lc 13.1 Not readable
#054395 text on white 9.36:1 AAA Lc 90.9 Preferred for body text
#054395 text on black 2.24:1 Fails Lc -11.4 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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFF

    oklch(93.6% 0.031 258.9)

  3. Step 200

    200

    #C3DBFF

    oklch(88.5% 0.056 258.4)

  4. Step 300

    300

    #9AC2FF

    oklch(80.8% 0.097 258.7)

  5. Step 400

    400

    #62A0FF

    oklch(70.7% 0.154 258.7)

  6. Step 500

    500

    #3084FF

    oklch(63% 0.2 258.6)

  7. Step 600

    600

    #006BEB

    oklch(55.7% 0.21 258.5)

  8. Step 700

    700

    #0059C7

    oklch(49% 0.186 258.6)

  9. Step 800

    800

    #0049A5

    oklch(42.7% 0.162 258.5)

  10. Step 900

    900 (this color)

    #054395

    oklch(40.1% 0.147 258.5)

  11. Step 950

    950

    #042453

    oklch(27% 0.094 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#054395 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)#004D980.027
Deuteranopia (no green cones)#0041930.007
Tritanopia (no blue cones)#0058650.112
Achromatopsia (no color)#4747470.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #054395

    #054395

    oklch(40.1% 0.147 258.5)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #054395

    #054395

    oklch(40.1% 0.147 258.5)

  • #005069

    #005069

    oklch(40.2% 0.078 227.5)

  • #483391

    #483391

    oklch(40.1% 0.148 288.2)

Open the analogous palette in the generator

Split complementary

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

  • #054395

    #054395

    oklch(40.1% 0.147 258.5)

  • #753100

    #753100

    oklch(40.1% 0.109 48)

  • #4D4B00

    #4D4B00

    oklch(40.2% 0.087 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #054395

    #054395

    oklch(40.1% 0.147 258.5)

  • #851327

    #851327

    oklch(40.1% 0.146 18.6)

  • #1D5700

    #1D5700

    oklch(40.2% 0.126 138.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #054395

    #054395

    oklch(40.1% 0.147 258.5)

  • #7C1855

    #7C1855

    oklch(40.2% 0.146 348.6)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

  • #005640

    #005640

    oklch(40.3% 0.081 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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