#0454A1

Closest named color: Dusk Blue (#26538D). oklch(45% 0.142 254.3), rgb(4, 84, 161).

Aa

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

About this color

#0454A1 is a dark, vivid blue. In OKLCH its lightness is 45%, its chroma 0.142 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.035 away. White text reads best on it, at 7.53:1.

Hue familyBlues
Lightnessdark (45%)
Chromavivid (0.142)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.78:1
White text7.53:1

Values

HEX#0454A1
RGBrgb(4, 84, 161)
HSLhsl(209, 95%, 32%)
OKLCHoklch(45% 0.142 254.3)

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 #0454A1 7.53:1 AAA Lc -90.4 Preferred for body text
Black text on #0454A1 2.78:1 Fails Lc 18.5 Dividers and decoration only
#0454A1 text on white 7.53:1 AAA Lc 85.5 Fine for body text
#0454A1 text on black 2.78:1 Fails Lc -16.5 Dividers and decoration only

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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9CC4F6

    oklch(80.9% 0.083 254.3)

  5. Step 400

    400

    #63A3F1

    oklch(70.6% 0.133 254.3)

  6. Step 500

    500

    #328AED

    oklch(63.2% 0.17 254.2)

  7. Step 600

    600

    #0072D8

    oklch(55.7% 0.178 254.2)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800 (this color)

    #0454A1

    oklch(45% 0.142 254.3)

  10. Step 900

    900

    #0C417A

    oklch(37.6% 0.111 254.4)

  11. Step 950

    950

    #0A2748

    oklch(27.1% 0.07 254.2)

Export this scale for Tailwind in the Tailwind colors tool

#0454A1 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)#275BA40.030
Deuteranopia (no green cones)#004E9F0.017
Tritanopia (no blue cones)#0067720.107
Achromatopsia (no color)#5454540.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #0454A1

    #0454A1

    oklch(45% 0.142 254.3)

  • #744C00

    #744C00

    oklch(45% 0.095 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0454A1

    #0454A1

    oklch(45% 0.142 254.3)

  • #005F78

    #005F78

    oklch(45.1% 0.085 223.8)

  • #4F459F

    #4F459F

    oklch(45% 0.141 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #0454A1

    #0454A1

    oklch(45% 0.142 254.3)

  • #8D3600

    #8D3600

    oklch(44.9% 0.13 44.1)

  • #5E5700

    #5E5700

    oklch(44.9% 0.095 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0454A1

    #0454A1

    oklch(45% 0.142 254.3)

  • #93283C

    #93283C

    oklch(45% 0.142 14.4)

  • #336400

    #336400

    oklch(45.1% 0.13 134.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0454A1

    #0454A1

    oklch(45% 0.142 254.3)

  • #882C68

    #882C68

    oklch(45% 0.142 344.3)

  • #744C00

    #744C00

    oklch(45% 0.095 74.4)

  • #006547

    #006547

    oklch(44.9% 0.095 164.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0454A1 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.