#5A75EC#5A75EC

#5A75EC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.181 H 270.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5A75EC
RGBrgb(90, 117, 236)
HSLhsl(229, 79%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(61.9%, 50.4%, 0%, 7.5%)
CIE-LABlab(52.89, 26.42, -63.20)
CIE-LCHlch(52.89, 68.50, 292.68°)
OKLaboklab(60.38% 0.0016 -0.1811)
OKLCHoklch(60.38% 0.181 270.5)
XYZxyz(25.7130, 20.9502, 82.0294)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75EC #ECD15A
analogous
#5ABEEC #5A75EC #885AEC
triadic
#5A75EC #EC5A75 #75EC5A
tetradic
#5A75EC #EC5ABE #ECD15A #5AEC88
square
#5A75EC #EC5ABE #ECD15A #5AEC88
split-complementary
#5A75EC #EC885A #BEEC5A
monochromatic
#1533B7 #2347E6 #5A75EC #91A3F2 #C8D1F9

Accessibility & contrast

On white

4.05
#5A75EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5A75EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75EC#FFFFFF#000000##000000
##5A75EC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a75ec;
/* rgb */ color: rgb(90, 117, 236);
/* oklch */ color: oklch(60.4% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#969cf3',
    500: '#5a75ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a75ec;
$custom-light: #969cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75ec",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 228.904,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.18112,
    "h": 270.5
  },
  "luminance": 0.20952
}

Semantic roles & 50–950 ramp

primary
#5A75EC
secondary
#EBE1B7
accent
#B50ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A75EC

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

Preview Lab → · Contrast checker → · Palette generator →

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