#5A75DF

Closest named color: Cornflower (#6A79F7). oklch(59.5% 0.163 270.1), rgb(90, 117, 223).

Aa

Black text reads best on this color (5.04:1).

About this color

#5A75DF is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.163 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.043 away. Black text reads best on it, at 5.04:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.163)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.04:1
White text4.16:1

Values

HEX#5A75DF
RGBrgb(90, 117, 223)
HSLhsl(228, 68%, 61%)
OKLCHoklch(59.5% 0.163 270.1)

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 #5A75DF 4.16:1 AA large text Lc -73.9 Content text, not long reading
Black text on #5A75DF 5.04:1 AA Lc 35.7 Non-text elements, placeholder text
#5A75DF text on white 4.16:1 AA large text Lc 68.4 Content text, not long reading
#5A75DF text on black 5.04:1 AA Lc -33.3 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E4EAFA

    oklch(93.7% 0.023 269.4)

  3. Step 200

    200

    #CDD8F7

    oklch(88.4% 0.044 270)

  4. Step 300

    300

    #ACBFF5

    oklch(80.9% 0.079 269.5)

  5. Step 400

    400

    #829CF0

    oklch(70.8% 0.127 269.9)

  6. Step 500

    500 (this color)

    #5A75DF

    oklch(59.5% 0.163 270.1)

  7. Step 600

    600

    #4D67DA

    oklch(55.7% 0.178 270.1)

  8. Step 700

    700

    #3E55BD

    oklch(49.2% 0.165 269.9)

  9. Step 800

    800

    #334699

    oklch(42.7% 0.137 270)

  10. Step 900

    900

    #2C3C79

    oklch(37.7% 0.105 269.7)

  11. Step 950

    950

    #1A2347

    oklch(26.9% 0.068 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A75DF 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)#4082E30.038
Deuteranopia (no green cones)#2977DD0.043
Tritanopia (no blue cones)#008D9F0.142
Achromatopsia (no color)#7C7C7C0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A75DF

    #5A75DF

    oklch(59.5% 0.163 270.1)

  • #9B7A00

    #9B7A00

    oklch(59.5% 0.121 89.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A75DF

    #5A75DF

    oklch(59.5% 0.163 270.1)

  • #0087C7

    #0087C7

    oklch(59.5% 0.137 240.1)

  • #8F63D0

    #8F63D0

    oklch(59.5% 0.163 300.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A75DF

    #5A75DF

    oklch(59.5% 0.163 270.1)

  • #B96700

    #B96700

    oklch(59.5% 0.139 60.2)

  • #748A00

    #748A00

    oklch(59.5% 0.142 120.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A75DF

    #5A75DF

    oklch(59.5% 0.163 270.1)

  • #CE503F

    #CE503F

    oklch(59.6% 0.163 30.3)

  • #009845

    #009845

    oklch(59.4% 0.163 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A75DF

    #5A75DF

    oklch(59.5% 0.163 270.1)

  • #C84C7B

    #C84C7B

    oklch(59.5% 0.163 359.8)

  • #9B7A00

    #9B7A00

    oklch(59.5% 0.121 89.7)

  • #009381

    #009381

    oklch(59.4% 0.108 180.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A75DF 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.