#5A57DE#5A57DE

#5A57DE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.200 H 278.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5A57DE
RGBrgb(90, 87, 222)
HSLhsl(241, 67%, 61%)
HSVhsv(241, 61%, 87%)
CMYKcmyk(59.5%, 60.8%, 0%, 12.9%)
CIE-LABlab(44.61, 40.10, -68.73)
CIE-LCHlch(44.61, 79.57, 300.26°)
OKLaboklab(53.89% 0.0289 -0.1977)
OKLCHoklch(53.89% 0.2 278.3)
XYZxyz(20.8052, 14.2624, 70.7496)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A57DE #DBDE57
analogous
#5798DE #5A57DE #9D57DE
triadic
#5A57DE #DE5A57 #57DE5A
tetradic
#5A57DE #DE5798 #DBDE57 #57DE9D
square
#5A57DE #DE5798 #DBDE57 #57DE9D
split-complementary
#5A57DE #DE9D57 #98DE57
monochromatic
#211F9C #2C29CF #5A57DE #8C8AE8 #BEBDF2

Accessibility & contrast

On white

5.45
#5A57DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5A57DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A57DE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A57DE#FFFFFF#000000##FFFFFF
##5A57DE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a57de;
/* rgb */ color: rgb(90, 87, 222);
/* oklch */ color: oklch(53.9% 0.200 278.3);
Tailwind
colors: {
  custom: {
    50: '#9587e9',
    500: '#5a57de',
    950: '#000000',
  },
}
SCSS
$custom: #5a57de;
$custom-light: #9587e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a57de",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 241.333,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.19978,
    "h": 278.3
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#5A57DE
secondary
#E1E2AF
accent
#CF16CB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A57DE

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

Preview Lab → · Contrast checker → · Palette generator →

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