#5D57ED#5D57ED

#5D57ED is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.218 H 278.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5D57ED
RGBrgb(93, 87, 237)
HSLhsl(242, 81%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(60.8%, 63.3%, 0%, 7.1%)
CIE-LABlab(45.98, 45.33, -74.97)
CIE-LCHlch(45.98, 87.60, 301.16°)
OKLaboklab(55.31% 0.0315 -0.2159)
OKLCHoklch(55.31% 0.218 278.3)
XYZxyz(23.2036, 15.2562, 81.8263)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57ED #E7ED57
analogous
#579CED #5D57ED #A857ED
triadic
#5D57ED #ED5D57 #57ED5D
tetradic
#5D57ED #ED579C #E7ED57 #57EDA8
square
#5D57ED #ED579C #E7ED57 #57EDA8
split-complementary
#5D57ED #EDA857 #9CED57
monochromatic
#1A14B6 #2820E7 #5D57ED #928EF3 #C8C6F9

Accessibility & contrast

On white

5.18
#5D57ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5D57ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57ED#FFFFFF#000000##FFFFFF
##5D57ED1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d57ed;
/* rgb */ color: rgb(93, 87, 237);
/* oklch */ color: oklch(55.3% 0.218 278.3);
Tailwind
colors: {
  custom: {
    50: '#9987f4',
    500: '#5d57ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d57ed;
$custom-light: #9987f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57ed",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 242.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.21818,
    "h": 278.3
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#5D57ED
secondary
#E8EAB5
accent
#DD09D4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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