#045AC8

Closest named color: Blue Blue (#2242C7). oklch(49.4% 0.186 258.7), rgb(4, 90, 200).

Aa

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

About this color

#045AC8 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.186 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.054 away. White text reads best on it, at 6.36:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.186)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.30:1
White text6.36:1

Values

HEX#045AC8
RGBrgb(4, 90, 200)
HSLhsl(214, 96%, 40%)
OKLCHoklch(49.4% 0.186 258.7)

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 #045AC8 6.36:1 AA Lc -85.9 Fine for body text
Black text on #045AC8 3.30:1 AA large text Lc 23.3 Dividers and decoration only
#045AC8 text on white 6.36:1 AA Lc 80.8 Fine for body text
#045AC8 text on black 3.30:1 AA large text Lc -21.1 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C6DBFB

    oklch(88.6% 0.05 258.7)

  4. Step 300

    300

    #9DC2FB

    oklch(80.8% 0.091 258.9)

  5. Step 400

    400

    #67A1F9

    oklch(70.8% 0.143 258.5)

  6. Step 500

    500

    #3B86F6

    oklch(63.1% 0.183 258.6)

  7. Step 600

    600

    #146CE5

    oklch(55.6% 0.2 258.7)

  8. Step 700

    700 (this color)

    #045AC8

    oklch(49.4% 0.186 258.7)

  9. Step 800

    800

    #0A4AA1

    oklch(42.8% 0.154 258.6)

  10. Step 900

    900

    #133F80

    oklch(37.8% 0.12 258.7)

  11. Step 950

    950

    #0D254B

    oklch(27% 0.077 259.3)

Export this scale for Tailwind in the Tailwind colors tool

#045AC8 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)#0068CC0.036
Deuteranopia (no green cones)#0058C60.006
Tritanopia (no blue cones)#0076880.141
Achromatopsia (no color)#5F5F5F0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #045AC8

    #045AC8

    oklch(49.4% 0.186 258.7)

  • #805900

    #805900

    oklch(49.3% 0.102 79)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045AC8

    #045AC8

    oklch(49.4% 0.186 258.7)

  • #006B8D

    #006B8D

    oklch(49.3% 0.097 228.9)

  • #6344C2

    #6344C2

    oklch(49.3% 0.187 289)

Open the analogous palette in the generator

Split complementary

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

  • #045AC8

    #045AC8

    oklch(49.4% 0.186 258.7)

  • #9B4400

    #9B4400

    oklch(49.3% 0.133 48.4)

  • #676500

    #676500

    oklch(49.2% 0.106 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045AC8

    #045AC8

    oklch(49.4% 0.186 258.7)

  • #B31635

    #B31635

    oklch(49.4% 0.187 18.7)

  • #297400

    #297400

    oklch(49.2% 0.154 138.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045AC8

    #045AC8

    oklch(49.4% 0.186 258.7)

  • #A61E72

    #A61E72

    oklch(49.3% 0.186 348.7)

  • #805900

    #805900

    oklch(49.3% 0.102 79)

  • #007357

    #007357

    oklch(49.4% 0.099 168.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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