#045A99

Closest named color: Dusk Blue (#26538D). oklch(45.8% 0.124 249), rgb(4, 90, 153).

Aa

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

About this color

#045A99 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.124 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.028 away. White text reads best on it, at 7.17:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.92:1
White text7.17:1

Values

HEX#045A99
RGBrgb(4, 90, 153)
HSLhsl(205, 95%, 31%)
OKLCHoklch(45.8% 0.124 249)

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 #045A99 7.17:1 AAA Lc -89.2 Fine for body text
Black text on #045A99 2.92:1 Fails Lc 19.7 Dividers and decoration only
#045A99 text on white 7.17:1 AAA Lc 84.3 Fine for body text
#045A99 text on black 2.92:1 Fails Lc -17.7 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C5DCF3

    oklch(88.5% 0.04 248.3)

  4. Step 300

    300

    #9CC5EE

    oklch(80.8% 0.073 248.7)

  5. Step 400

    400

    #64A6E6

    oklch(70.8% 0.116 249.1)

  6. Step 500

    500

    #318EDF

    oklch(63.2% 0.149 249.1)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800 (this color)

    #045A99

    oklch(45.8% 0.124 249)

  10. Step 900

    900

    #0A4472

    oklch(37.8% 0.096 248.7)

  11. Step 950

    950

    #0A2843

    oklch(27% 0.061 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#045A99 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)#3A5E9C0.040
Deuteranopia (no green cones)#2252980.024
Tritanopia (no blue cones)#0069720.088
Achromatopsia (no color)#5757570.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #045A99

    #045A99

    oklch(45.8% 0.124 249)

  • #7B4B00

    #7B4B00

    oklch(45.8% 0.1 68.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045A99

    #045A99

    oklch(45.8% 0.124 249)

  • #006277

    #006277

    oklch(45.9% 0.083 219.2)

  • #4A4D9B

    #4A4D9B

    oklch(45.9% 0.124 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #045A99

    #045A99

    oklch(45.8% 0.124 249)

  • #8F391A

    #8F391A

    oklch(45.9% 0.125 39.1)

  • #655800

    #655800

    oklch(45.9% 0.095 99.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045A99

    #045A99

    oklch(45.8% 0.124 249)

  • #8E3349

    #8E3349

    oklch(45.7% 0.124 8.7)

  • #426400

    #426400

    oklch(45.9% 0.122 129)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045A99

    #045A99

    oklch(45.8% 0.124 249)

  • #82376E

    #82376E

    oklch(45.8% 0.124 339)

  • #7B4B00

    #7B4B00

    oklch(45.8% 0.1 68.5)

  • #006941

    #006941

    oklch(45.9% 0.106 158.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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