#045D9A

Closest named color: Peacock Blue (#016795). oklch(46.6% 0.123 247.6), rgb(4, 93, 154).

Aa

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

About this color

#045D9A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.123 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Peacock Blue (#016795), ΔE 0.033 away. White text reads best on it, at 6.91:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest namePeacock Blue (#016795)
Black text3.03:1
White text6.91:1

Values

HEX#045D9A
RGBrgb(4, 93, 154)
HSLhsl(204, 95%, 31%)
OKLCHoklch(46.6% 0.123 247.6)

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 #045D9A 6.91:1 AA Lc -88.3 Fine for body text
Black text on #045D9A 3.03:1 AA large text Lc 20.7 Dividers and decoration only
#045D9A text on white 6.91:1 AA Lc 83.3 Fine for body text
#045D9A text on black 3.03:1 AA large text Lc -18.6 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 700.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C9DCEE

    oklch(88.6% 0.032 246.7)

  4. Step 300

    300

    #A3C5E6

    oklch(81% 0.059 247.8)

  5. Step 400

    400

    #6FA6D9

    oklch(70.7% 0.095 247.5)

  6. Step 500

    500

    #468FCF

    oklch(63.2% 0.121 247.5)

  7. Step 600

    600

    #2278BC

    oklch(55.7% 0.132 247.5)

  8. Step 700

    700 (this color)

    #045D9A

    oklch(46.6% 0.123 247.6)

  9. Step 800

    800

    #145283

    oklch(42.7% 0.101 247.5)

  10. Step 900

    900

    #194469

    oklch(37.6% 0.079 247.8)

  11. Step 950

    950

    #10283E

    oklch(27% 0.051 248.4)

Export this scale for Tailwind in the Tailwind colors tool

#045D9A 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)#3F619C0.043
Deuteranopia (no green cones)#2854990.028
Tritanopia (no blue cones)#006C740.087
Achromatopsia (no color)#5A5A5A0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #045D9A

    #045D9A

    oklch(46.6% 0.123 247.6)

  • #7F4D00

    #7F4D00

    oklch(46.7% 0.103 67.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045D9A

    #045D9A

    oklch(46.6% 0.123 247.6)

  • #006578

    #006578

    oklch(46.7% 0.083 216.6)

  • #4B509D

    #4B509D

    oklch(46.7% 0.123 277.7)

Open the analogous palette in the generator

Split complementary

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

  • #045D9A

    #045D9A

    oklch(46.6% 0.123 247.6)

  • #913C21

    #913C21

    oklch(46.7% 0.122 37.9)

  • #695900

    #695900

    oklch(46.6% 0.096 97)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045D9A

    #045D9A

    oklch(46.6% 0.123 247.6)

  • #90364D

    #90364D

    oklch(46.6% 0.123 7.5)

  • #466500

    #466500

    oklch(46.5% 0.121 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045D9A

    #045D9A

    oklch(46.6% 0.123 247.6)

  • #833A72

    #833A72

    oklch(46.5% 0.123 337.2)

  • #7F4D00

    #7F4D00

    oklch(46.7% 0.103 67.9)

  • #006B41

    #006B41

    oklch(46.5% 0.109 158)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #045D9A 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.