#5A57E8#5A57E8

#5A57E8 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.213 H 277.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A57E8
RGBrgb(90, 87, 232)
HSLhsl(241, 76%, 63%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(61.2%, 62.5%, 0%, 9%)
CIE-LABlab(45.38, 43.29, -73.14)
CIE-LCHlch(45.38, 84.99, 300.62°)
OKLaboklab(54.7% 0.0283 -0.2106)
OKLCHoklch(54.7% 0.213 277.6)
XYZxyz(22.1854, 14.8145, 78.0187)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A57E8 #E5E857
analogous
#579DE8 #5A57E8 #A257E8
triadic
#5A57E8 #E85A57 #57E85A
tetradic
#5A57E8 #E8579D #E5E857 #57E8A2
square
#5A57E8 #E8579D #E5E857 #57E8A2
split-complementary
#5A57E8 #E8A257 #9DE857
monochromatic
#1B18AD #2521E1 #5A57E8 #8F8DEF #C4C3F7

Accessibility & contrast

On white

5.30
#5A57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5A57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A57E8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A57E8#FFFFFF#000000##FFFFFF
##5A57E81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a57e8;
/* rgb */ color: rgb(90, 87, 232);
/* oklch */ color: oklch(54.7% 0.213 277.6);
Tailwind
colors: {
  custom: {
    50: '#9787f0',
    500: '#5a57e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a57e8;
$custom-light: #9787f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a57e8",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 241.241,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.21252,
    "h": 277.6
  },
  "luminance": 0.14816
}

Semantic roles & 50–950 ramp

primary
#5A57E8
secondary
#E7E8B3
accent
#D80DD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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