#5A57EE#5A57EE

#5A57EE is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.220 H 277.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5A57EE
RGBrgb(90, 87, 238)
HSLhsl(241, 82%, 64%)
HSVhsv(241, 63%, 93%)
CMYKcmyk(62.2%, 63.4%, 0%, 6.7%)
CIE-LABlab(45.85, 45.20, -75.75)
CIE-LCHlch(45.85, 88.21, 300.83°)
OKLaboklab(55.19% 0.0278 -0.2183)
OKLCHoklch(55.19% 0.22 277.3)
XYZxyz(23.0523, 15.1612, 82.5840)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A57EE #EBEE57
analogous
#579FEE #5A57EE #A557EE
triadic
#5A57EE #EE5A57 #57EE5A
tetradic
#5A57EE #EE579F #EBEE57 #57EEA5
square
#5A57EE #EE579F #EBEE57 #57EEA5
split-complementary
#5A57EE #EEA557 #9FEE57
monochromatic
#1613B8 #231FE8 #5A57EE #918FF4 #C7C6F9

Accessibility & contrast

On white

5.21
#5A57EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5A57EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A57EE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A57EE#FFFFFF#000000##FFFFFF
##5A57EE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a57ee;
/* rgb */ color: rgb(90, 87, 238);
/* oklch */ color: oklch(55.2% 0.220 277.3);
Tailwind
colors: {
  custom: {
    50: '#9887f5',
    500: '#5a57ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a57ee;
$custom-light: #9887f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a57ee",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 241.192,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.22004,
    "h": 277.3
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#5A57EE
secondary
#EAEBB6
accent
#DE08DA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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