#5D59E3#5D59E3

#5D59E3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.203 H 278.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5D59E3
RGBrgb(93, 89, 227)
HSLhsl(242, 71%, 62%)
HSVhsv(242, 61%, 89%)
CMYKcmyk(59%, 60.8%, 0%, 11%)
CIE-LABlab(45.66, 40.99, -69.85)
CIE-LCHlch(45.66, 80.99, 300.40°)
OKLaboklab(54.83% 0.0304 -0.2009)
OKLCHoklch(54.83% 0.203 278.6)
XYZxyz(21.9473, 15.0164, 74.4001)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59E3 #DFE359
analogous
#599AE3 #5D59E3 #A259E3
triadic
#5D59E3 #E35D59 #59E35D
tetradic
#5D59E3 #E3599A #DFE359 #59E3A2
square
#5D59E3 #E3599A #DFE359 #59E3A2
split-complementary
#5D59E3 #E3A259 #9AE359
monochromatic
#201CA6 #2A25DA #5D59E3 #908DEC #C3C2F5

Accessibility & contrast

On white

5.25
#5D59E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5D59E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59E3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59E3#FFFFFF#000000##FFFFFF
##5D59E31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d59e3;
/* rgb */ color: rgb(93, 89, 227);
/* oklch */ color: oklch(54.8% 0.203 278.6);
Tailwind
colors: {
  custom: {
    50: '#9788ed',
    500: '#5d59e3',
    950: '#000000',
  },
}
SCSS
$custom: #5d59e3;
$custom-light: #9788ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59e3",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 241.739,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.20316,
    "h": 278.6
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#5D59E3
secondary
#E4E5B2
accent
#D312CE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D59E3

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

Preview Lab → · Contrast checker → · Palette generator →

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