#045AD9

Closest named color: Azul (#1D5DEC). oklch(50.8% 0.208 260.3), rgb(4, 90, 217).

Aa

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

About this color

#045AD9 is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.208 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.033 away. White text reads best on it, at 6.05:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.208)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text3.46:1
White text6.05:1

Values

HEX#045AD9
RGBrgb(4, 90, 217)
HSLhsl(216, 96%, 43%)
OKLCHoklch(50.8% 0.208 260.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 #045AD9 6.05:1 AA Lc -84.5 Fine for body text
Black text on #045AD9 3.46:1 AA large text Lc 24.8 Dividers and decoration only
#045AD9 text on white 6.05:1 AA Lc 79.3 Fine for body text
#045AD9 text on black 3.46:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C4DAFF

    oklch(88.4% 0.057 260.8)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #669FFF

    oklch(70.7% 0.154 260.3)

  6. Step 500

    500

    #3A83FF

    oklch(63.1% 0.199 260.3)

  7. Step 600

    600

    #0B67F2

    oklch(55.5% 0.223 260.3)

  8. Step 700

    700 (this color)

    #045AD9

    oklch(50.8% 0.208 260.3)

  9. Step 800

    800

    #0546AB

    oklch(42.7% 0.173 260.4)

  10. Step 900

    900

    #103C87

    oklch(37.6% 0.135 260.6)

  11. Step 950

    950

    #0B244F

    oklch(27% 0.085 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#045AD9 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)#006CDD0.045
Deuteranopia (no green cones)#005AD70.003
Tritanopia (no blue cones)#007B910.157
Achromatopsia (no color)#6363630.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #045AD9

    #045AD9

    oklch(50.8% 0.208 260.3)

  • #845E00

    #845E00

    oklch(50.8% 0.105 81)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045AD9

    #045AD9

    oklch(50.8% 0.208 260.3)

  • #006F94

    #006F94

    oklch(50.7% 0.101 230.2)

  • #6A41D0

    #6A41D0

    oklch(50.7% 0.207 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #045AD9

    #045AD9

    oklch(50.8% 0.208 260.3)

  • #9F4900

    #9F4900

    oklch(50.7% 0.134 50.3)

  • #696A00

    #696A00

    oklch(50.7% 0.111 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045AD9

    #045AD9

    oklch(50.8% 0.208 260.3)

  • #BE002F

    #BE002F

    oklch(50.7% 0.204 20.3)

  • #207A00

    #207A00

    oklch(50.7% 0.164 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045AD9

    #045AD9

    oklch(50.8% 0.208 260.3)

  • #B30975

    #B30975

    oklch(50.8% 0.208 350.3)

  • #845E00

    #845E00

    oklch(50.8% 0.105 81)

  • #00775D

    #00775D

    oklch(50.7% 0.1 170.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #045AD9.

Similar named colors

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

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