#5D57CB#5D57CB

#5D57CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.174 H 280.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5D57CB
RGBrgb(93, 87, 203)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.2%, 57.1%, 0%, 20.4%)
CIE-LABlab(43.44, 34.59, -59.74)
CIE-LCHlch(43.44, 69.03, 300.07°)
OKLaboklab(52.65% 0.033 -0.1711)
OKLCHoklch(52.65% 0.174 280.9)
XYZxyz(18.6985, 13.4542, 58.1000)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57CB #C5CB57
analogous
#578BCB #5D57CB #9757CB
triadic
#5D57CB #CB5D57 #57CB5D
tetradic
#5D57CB #CB578B #C5CB57 #57CB97
square
#5D57CB #CB578B #C5CB57 #57CB97
split-complementary
#5D57CB #CB9757 #8BCB57
monochromatic
#2C2880 #3C36AF #5D57CB #8A86D9 #B7B4E8

Accessibility & contrast

On white

5.69
#5D57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5D57CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57CB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57CB#FFFFFF#000000##FFFFFF
##5D57CB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#2A7288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d57cb;
/* rgb */ color: rgb(93, 87, 203);
/* oklch */ color: oklch(52.6% 0.174 280.9);
Tailwind
colors: {
  custom: {
    50: '#9486dc',
    500: '#5d57cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d57cb;
$custom-light: #9486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57cb",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 243.103,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.17428,
    "h": 280.9
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#5D57CB
secondary
#D4D7A7
accent
#DC4CD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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