#5E59DC#5E59DC

#5E59DC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.194 H 279.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E59DC
RGBrgb(94, 89, 220)
HSLhsl(242, 65%, 61%)
HSVhsv(242, 60%, 86%)
CMYKcmyk(57.3%, 59.5%, 0%, 13.7%)
CIE-LABlab(45.21, 38.94, -66.61)
CIE-LCHlch(45.21, 77.15, 300.31°)
OKLaboklab(54.36% 0.0319 -0.1913)
OKLCHoklch(54.36% 0.194 279.5)
XYZxyz(21.1027, 14.6903, 69.4198)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59DC #D7DC59
analogous
#5995DC #5E59DC #9F59DC
triadic
#5E59DC #DC5E59 #59DC5E
tetradic
#5E59DC #DC5995 #D7DC59 #59DC9F
square
#5E59DC #DC5995 #D7DC59 #59DC9F
split-complementary
#5E59DC #DC9F59 #95DC59
monochromatic
#25209A #312BCD #5E59DC #8F8CE7 #C0BEF1

Accessibility & contrast

On white

5.33
#5E59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E59DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59DC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59DC#FFFFFF#000000##FFFFFF
##5E59DC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#0F7992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e59dc;
/* rgb */ color: rgb(94, 89, 220);
/* oklch */ color: oklch(54.4% 0.194 279.5);
Tailwind
colors: {
  custom: {
    50: '#9788e8',
    500: '#5e59dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e59dc;
$custom-light: #9788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59dc",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 242.29,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.19394,
    "h": 279.5
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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