#5A57E7#5A57E7

#5A57E7 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.211 H 277.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5A57E7
RGBrgb(90, 87, 231)
HSLhsl(241, 75%, 62%)
HSVhsv(241, 62%, 91%)
CMYKcmyk(61%, 62.3%, 0%, 9.4%)
CIE-LABlab(45.30, 42.97, -72.70)
CIE-LCHlch(45.30, 84.45, 300.58°)
OKLaboklab(54.61% 0.0283 -0.2093)
OKLCHoklch(54.61% 0.211 277.7)
XYZxyz(22.0438, 14.7579, 77.2727)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A57E7 #E4E757
analogous
#579CE7 #5A57E7 #A257E7
triadic
#5A57E7 #E75A57 #57E75A
tetradic
#5A57E7 #E7579C #E4E757 #57E7A2
square
#5A57E7 #E7579C #E4E757 #57E7A2
split-complementary
#5A57E7 #E7A257 #9CE757
monochromatic
#1C18AB #2521DF #5A57E7 #8F8DEF #C3C2F6

Accessibility & contrast

On white

5.31
#5A57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5A57E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A57E7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A57E7#FFFFFF#000000##FFFFFF
##5A57E71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a57e7;
/* rgb */ color: rgb(90, 87, 231);
/* oklch */ color: oklch(54.6% 0.211 277.7);
Tailwind
colors: {
  custom: {
    50: '#9787f0',
    500: '#5a57e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a57e7;
$custom-light: #9787f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a57e7",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 241.25,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.21125,
    "h": 277.7
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#5A57E7
secondary
#E6E7B3
accent
#D70ED3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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