#5D57E2#5D57E2

#5D57E2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.204 H 279.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D57E2
RGBrgb(93, 87, 226)
HSLhsl(243, 71%, 61%)
HSVhsv(243, 62%, 89%)
CMYKcmyk(58.8%, 61.5%, 0%, 11.4%)
CIE-LABlab(45.13, 41.86, -70.15)
CIE-LCHlch(45.13, 81.69, 300.82°)
OKLaboklab(54.42% 0.0322 -0.2018)
OKLCHoklch(54.42% 0.204 279.1)
XYZxyz(21.6455, 14.6330, 73.6206)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57E2 #DCE257
analogous
#5797E2 #5D57E2 #A357E2
triadic
#5D57E2 #E25D57 #57E25D
tetradic
#5D57E2 #E25797 #DCE257 #57E2A3
square
#5D57E2 #E25797 #DCE257 #57E2A3
split-complementary
#5D57E2 #E2A357 #97E257
monochromatic
#221CA3 #2D25D7 #5D57E2 #8F8BEB #C2BFF4

Accessibility & contrast

On white

5.35
#5D57E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D57E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57E2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57E2#FFFFFF#000000##FFFFFF
##5D57E21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d57e2;
/* rgb */ color: rgb(93, 87, 226);
/* oklch */ color: oklch(54.4% 0.204 279.1);
Tailwind
colors: {
  custom: {
    50: '#9787ec',
    500: '#5d57e2',
    950: '#000000',
  },
}
SCSS
$custom: #5d57e2;
$custom-light: #9787ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57e2",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 242.59,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.20431,
    "h": 279.1
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#5D57E2
secondary
#E2E4B0
accent
#D313CA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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