#5D57BF#5D57BF

#5D57BF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.158 H 282.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5D57BF
RGBrgb(93, 87, 191)
HSLhsl(243, 45%, 55%)
HSVhsv(243, 54%, 75%)
CMYKcmyk(51.3%, 54.5%, 0%, 25.1%)
CIE-LABlab(42.62, 30.82, -54.11)
CIE-LCHlch(42.62, 62.27, 299.67°)
OKLaboklab(51.78% 0.0327 -0.1546)
OKLCHoklch(51.78% 0.158 282)
XYZxyz(17.3235, 12.9042, 50.8580)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57BF #B9BF57
analogous
#5785BF #5D57BF #9157BF
triadic
#5D57BF #BF5D57 #57BF5D
tetradic
#5D57BF #BF5785 #B9BF57 #57BF91
square
#5D57BF #BF5785 #B9BF57 #57BF91
split-complementary
#5D57BF #BF9157 #85BF57
monochromatic
#2F2B71 #413C9D #5D57BF #8883D0 #B2B0E1

Accessibility & contrast

On white

5.86
#5D57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5D57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57BF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57BF#FFFFFF#000000##FFFFFF
##5D57BF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#0B61BD
Tritanopia (blue-blind)
#366E82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d57bf;
/* rgb */ color: rgb(93, 87, 191);
/* oklch */ color: oklch(51.8% 0.158 282.0);
Tailwind
colors: {
  custom: {
    50: '#9286d3',
    500: '#5d57bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d57bf;
$custom-light: #9286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57bf",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 243.462,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.15802,
    "h": 282
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#5D57BF
secondary
#CCCFA3
accent
#D553CD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5D57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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