#5D57DB#5D57DB

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

Color values

HEX#5D57DB
RGBrgb(93, 87, 219)
HSLhsl(243, 65%, 60%)
HSVhsv(243, 60%, 86%)
CMYKcmyk(57.5%, 60.3%, 0%, 14.1%)
CIE-LABlab(44.60, 39.65, -67.03)
CIE-LCHlch(44.60, 77.88, 300.60°)
OKLaboklab(53.87% 0.0326 -0.1926)
OKLCHoklch(53.87% 0.195 279.6)
XYZxyz(20.7045, 14.2566, 68.6649)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57DB #D5DB57
analogous
#5793DB #5D57DB #9F57DB
triadic
#5D57DB #DB5D57 #57DB5D
tetradic
#5D57DB #DB5793 #D5DB57 #57DB9F
square
#5D57DB #DB5793 #D5DB57 #57DB9F
split-complementary
#5D57DB #DB9F57 #93DB57
monochromatic
#262097 #322BCA #5D57DB #8E89E6 #BEBCF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D57DB#FFFFFF#000000##FFFFFF
##5D57DB1.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)
#006FDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#0B7791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d57db;
/* rgb */ color: rgb(93, 87, 219);
/* oklch */ color: oklch(53.9% 0.195 279.6);
Tailwind
colors: {
  custom: {
    50: '#9687e7',
    500: '#5d57db',
    950: '#000000',
  },
}
SCSS
$custom: #5d57db;
$custom-light: #9687e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57db",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 242.727,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.19532,
    "h": 279.6
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#5D57DB
secondary
#DEE0AD
accent
#E840E0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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