#5A75E5#5A75E5

#5A75E5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.172 H 270.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A75E5
RGBrgb(90, 117, 229)
HSLhsl(228, 73%, 63%)
HSVhsv(228, 61%, 90%)
CMYKcmyk(60.7%, 48.9%, 0%, 10.2%)
CIE-LABlab(52.45, 24.08, -59.99)
CIE-LCHlch(52.45, 64.64, 291.87°)
OKLaboklab(59.91% 0.0009 -0.1717)
OKLCHoklch(59.91% 0.172 270.3)
XYZxyz(24.7159, 20.5513, 76.7779)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75E5 #E5CA5A
analogous
#5ABBE5 #5A75E5 #845AE5
triadic
#5A75E5 #E55A75 #75E55A
tetradic
#5A75E5 #E55ABB #E5CA5A #5AE584
square
#5A75E5 #E55ABB #E5CA5A #5AE584
split-complementary
#5A75E5 #E5845A #BBE55A
monochromatic
#1B37AA #2549DD #5A75E5 #8FA1ED #C4CDF6

Accessibility & contrast

On white

4.11
#5A75E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5A75E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75E5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75E5#FFFFFF#000000##000000
##5A75E51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84E9
Deuteranopia (green-blind)
#1D77E3
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a75e5;
/* rgb */ color: rgb(90, 117, 229);
/* oklch */ color: oklch(59.9% 0.172 270.3);
Tailwind
colors: {
  custom: {
    50: '#959cee',
    500: '#5a75e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a75e5;
$custom-light: #959cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75e5",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 229
  },
  "hsl": {
    "h": 228.345,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.17167,
    "h": 270.3
  },
  "luminance": 0.20553
}

Semantic roles & 50–950 ramp

primary
#5A75E5
secondary
#E7DDB4
accent
#AF11D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A75E5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5A75E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva