#5E59DF#5E59DF

#5E59DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.198 H 279.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5E59DF
RGBrgb(94, 89, 223)
HSLhsl(242, 68%, 61%)
HSVhsv(242, 60%, 87%)
CMYKcmyk(57.8%, 60.1%, 0%, 12.5%)
CIE-LABlab(45.43, 39.89, -67.95)
CIE-LCHlch(45.43, 78.79, 300.41°)
OKLaboklab(54.59% 0.0318 -0.1953)
OKLCHoklch(54.59% 0.198 279.2)
XYZxyz(21.5035, 14.8506, 71.5311)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59DF #DADF59
analogous
#5997DF #5E59DF #A159DF
triadic
#5E59DF #DF5E59 #59DF5E
tetradic
#5E59DF #DF5997 #DADF59 #59DFA1
square
#5E59DF #DF5997 #DADF59 #59DFA1
split-complementary
#5E59DF #DFA159 #97DF59
monochromatic
#231F9F #2F29D2 #5E59DF #908CE9 #C2C0F3

Accessibility & contrast

On white

5.29
#5E59DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5E59DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59DF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59DF#FFFFFF#000000##FFFFFF
##5E59DF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#037A93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e59df;
/* rgb */ color: rgb(94, 89, 223);
/* oklch */ color: oklch(54.6% 0.198 279.2);
Tailwind
colors: {
  custom: {
    50: '#9788ea',
    500: '#5e59df',
    950: '#000000',
  },
}
SCSS
$custom: #5e59df;
$custom-light: #9788ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59df",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 242.239,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.19783,
    "h": 279.2
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#5E59DF
secondary
#E1E3B1
accent
#D016C9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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