#5A5EED#5A5EED

#5A5EED is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.211 H 276.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5A5EED
RGBrgb(90, 94, 237)
HSLhsl(238, 80%, 64%)
HSVhsv(238, 62%, 93%)
CMYKcmyk(62%, 60.3%, 0%, 7.1%)
CIE-LABlab(47.35, 40.74, -72.74)
CIE-LCHlch(47.35, 83.37, 299.25°)
OKLaboklab(56.27% 0.0222 -0.2094)
OKLCHoklch(56.27% 0.211 276)
XYZxyz(23.5002, 16.2916, 82.0105)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5EED #EDE95A
analogous
#5AA8ED #5A5EED #A05AED
triadic
#5A5EED #ED5A5E #5EED5A
tetradic
#5A5EED #ED5AA8 #EDE95A #5AEDA0
square
#5A5EED #ED5AA8 #EDE95A #5AEDA0
split-complementary
#5A5EED #EDA05A #A8ED5A
monochromatic
#1419B8 #2328E7 #5A5EED #9194F3 #C8CAF9

Accessibility & contrast

On white

4.93
#5A5EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5A5EED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5EED
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5EED#FFFFFF#000000##FFFFFF
##5A5EED1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a5eed;
/* rgb */ color: rgb(90, 94, 237);
/* oklch */ color: oklch(56.3% 0.211 276.0);
Tailwind
colors: {
  custom: {
    50: '#978cf4',
    500: '#5a5eed',
    950: '#000000',
  },
}
SCSS
$custom: #5a5eed;
$custom-light: #978cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5eed",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 238.367,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.21057,
    "h": 276
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#5A5EED
secondary
#EBEAB8
accent
#D709DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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