#5E59DB#5E59DB

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

Color values

HEX#5E59DB
RGBrgb(94, 89, 219)
HSLhsl(242, 64%, 60%)
HSVhsv(242, 59%, 86%)
CMYKcmyk(57.1%, 59.4%, 0%, 14.1%)
CIE-LABlab(45.13, 38.62, -66.16)
CIE-LCHlch(45.13, 76.61, 300.28°)
OKLaboklab(54.28% 0.0319 -0.19)
OKLCHoklch(54.28% 0.193 279.5)
XYZxyz(20.9706, 14.6375, 68.7244)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59DB #D6DB59
analogous
#5995DB #5E59DB #9F59DB
triadic
#5E59DB #DB5E59 #59DB5E
tetradic
#5E59DB #DB5995 #D6DB59 #59DB9F
square
#5E59DB #DB5995 #D6DB59 #59DB9F
split-complementary
#5E59DB #DB9F59 #95DB59
monochromatic
#262199 #322CCB #5E59DB #8F8BE6 #C0BEF1

Accessibility & contrast

On white

5.35
#5E59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5E59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59DB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59DB#FFFFFF#000000##FFFFFF
##5E59DB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#127891
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e59db;
/* rgb */ color: rgb(94, 89, 219);
/* oklch */ color: oklch(54.3% 0.193 279.5);
Tailwind
colors: {
  custom: {
    50: '#9788e7',
    500: '#5e59db',
    950: '#000000',
  },
}
SCSS
$custom: #5e59db;
$custom-light: #9788e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59db",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 242.308,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.19264,
    "h": 279.5
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#5E59DB
secondary
#DFE1AF
accent
#CC19C5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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