#5D59EF#5D59EF

#5D59EF is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.218 H 277.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5D59EF
RGBrgb(93, 89, 239)
HSLhsl(242, 82%, 64%)
HSVhsv(242, 63%, 94%)
CMYKcmyk(61.1%, 62.8%, 0%, 6.3%)
CIE-LABlab(46.58, 44.79, -75.11)
CIE-LCHlch(46.58, 87.45, 300.81°)
OKLaboklab(55.8% 0.0297 -0.2163)
OKLCHoklch(55.8% 0.218 277.8)
XYZxyz(23.6616, 15.7021, 83.4285)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59EF #EBEF59
analogous
#59A0EF #5D59EF #A859EF
triadic
#5D59EF #EF5D59 #59EF5D
tetradic
#5D59EF #EF59A0 #EBEF59 #59EFA8
square
#5D59EF #EF59A0 #EBEF59 #59EFA8
split-complementary
#5D59EF #EFA859 #A0EF59
monochromatic
#1712BC #2721EA #5D59EF #9391F4 #CAC9FA

Accessibility & contrast

On white

5.07
#5D59EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5D59EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59EF#FFFFFF#000000##FFFFFF
##5D59EF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d59ef;
/* rgb */ color: rgb(93, 89, 239);
/* oklch */ color: oklch(55.8% 0.218 277.8);
Tailwind
colors: {
  custom: {
    50: '#9988f5',
    500: '#5d59ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d59ef;
$custom-light: #9988f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59ef",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 241.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.21836,
    "h": 277.8
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#5D59EF
secondary
#EBECB8
accent
#DF07D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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