#5A57E9#5A57E9

#5A57E9 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.214 H 277.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5A57E9
RGBrgb(90, 87, 233)
HSLhsl(241, 77%, 63%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(61.4%, 62.7%, 0%, 8.6%)
CIE-LABlab(45.46, 43.61, -73.58)
CIE-LCHlch(45.46, 85.53, 300.65°)
OKLaboklab(54.78% 0.0282 -0.2119)
OKLCHoklch(54.78% 0.214 277.6)
XYZxyz(22.3279, 14.8715, 78.7689)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A57E9 #E6E957
analogous
#579DE9 #5A57E9 #A357E9
triadic
#5A57E9 #E95A57 #57E95A
tetradic
#5A57E9 #E9579D #E6E957 #57E9A3
square
#5A57E9 #E9579D #E6E957 #57E9A3
split-complementary
#5A57E9 #E9A357 #9DE957
monochromatic
#1A17AF #2521E2 #5A57E9 #8F8DF0 #C4C3F7

Accessibility & contrast

On white

5.28
#5A57E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5A57E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A57E9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A57E9#FFFFFF#000000##FFFFFF
##5A57E91.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a57e9;
/* rgb */ color: rgb(90, 87, 233);
/* oklch */ color: oklch(54.8% 0.214 277.6);
Tailwind
colors: {
  custom: {
    50: '#9787f1',
    500: '#5a57e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a57e9;
$custom-light: #9787f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a57e9",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 241.233,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.21378,
    "h": 277.6
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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