#5D59DB#5D59DB

#5D59DB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.2% C 0.193 H 279.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D59DB
RGBrgb(93, 89, 219)
HSLhsl(242, 64%, 60%)
HSVhsv(242, 59%, 86%)
CMYKcmyk(57.5%, 59.4%, 0%, 14.1%)
CIE-LABlab(45.06, 38.45, -66.28)
CIE-LCHlch(45.06, 76.62, 300.12°)
OKLaboklab(54.21% 0.0307 -0.1904)
OKLCHoklch(54.21% 0.193 279.2)
XYZxyz(20.8687, 14.5849, 68.7196)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59DB #D7DB59
analogous
#5996DB #5D59DB #9E59DB
triadic
#5D59DB #DB5D59 #59DB5D
tetradic
#5D59DB #DB5996 #D7DB59 #59DB9E
square
#5D59DB #DB5996 #D7DB59 #59DB9E
split-complementary
#5D59DB #DB9E59 #96DB59
monochromatic
#252199 #312CCB #5D59DB #8E8BE6 #BFBEF1

Accessibility & contrast

On white

5.36
#5D59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5D59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59DB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59DB#FFFFFF#000000##FFFFFF
##5D59DB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#0A7891
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d59db;
/* rgb */ color: rgb(93, 89, 219);
/* oklch */ color: oklch(54.2% 0.193 279.2);
Tailwind
colors: {
  custom: {
    50: '#9688e7',
    500: '#5d59db',
    950: '#000000',
  },
}
SCSS
$custom: #5d59db;
$custom-light: #9688e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59db",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 241.846,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.19282,
    "h": 279.2
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#5D59DB
secondary
#DFE1AF
accent
#CC19C7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5D59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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