#5D59D8#5D59D8

#5D59D8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.189 H 279.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5D59D8
RGBrgb(93, 89, 216)
HSLhsl(242, 62%, 60%)
HSVhsv(242, 59%, 85%)
CMYKcmyk(56.9%, 58.8%, 0%, 15.3%)
CIE-LABlab(44.84, 37.50, -64.92)
CIE-LCHlch(44.84, 74.97, 300.01°)
OKLaboklab(53.98% 0.0308 -0.1864)
OKLCHoklch(53.98% 0.189 279.4)
XYZxyz(20.4773, 14.4284, 66.6583)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59D8 #D4D859
analogous
#5994D8 #5D59D8 #9D59D8
triadic
#5D59D8 #D85D59 #59D85D
tetradic
#5D59D8 #D85994 #D4D859 #59D89D
square
#5D59D8 #D85994 #D4D859 #59D89D
split-complementary
#5D59D8 #D89D59 #94D859
monochromatic
#262394 #332EC5 #5D59D8 #8D8BE4 #BEBCEF

Accessibility & contrast

On white

5.40
#5D59D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5D59D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59D8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59D8#FFFFFF#000000##FFFFFF
##5D59D81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#147790
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d59d8;
/* rgb */ color: rgb(93, 89, 216);
/* oklch */ color: oklch(54.0% 0.189 279.4);
Tailwind
colors: {
  custom: {
    50: '#9688e5',
    500: '#5d59d8',
    950: '#000000',
  },
}
SCSS
$custom: #5d59d8;
$custom-light: #9688e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59d8",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 241.89,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.18891,
    "h": 279.4
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#5D59D8
secondary
#DDDFAE
accent
#E543E0
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5D59D8

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

Preview Lab → · Contrast checker → · Palette generator →

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