#5E59DD#5E59DD

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

Color values

HEX#5E59DD
RGBrgb(94, 89, 221)
HSLhsl(242, 66%, 61%)
HSVhsv(242, 60%, 87%)
CMYKcmyk(57.5%, 59.7%, 0%, 13.3%)
CIE-LABlab(45.28, 39.26, -67.06)
CIE-LCHlch(45.28, 77.70, 300.35°)
OKLaboklab(54.44% 0.0319 -0.1926)
OKLCHoklch(54.44% 0.195 279.4)
XYZxyz(21.2355, 14.7434, 70.1193)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59DD #D8DD59
analogous
#5996DD #5E59DD #A059DD
triadic
#5E59DD #DD5E59 #59DD5E
tetradic
#5E59DD #DD5996 #D8DD59 #59DDA0
square
#5E59DD #DD5996 #D8DD59 #59DDA0
split-complementary
#5E59DD #DDA059 #96DD59
monochromatic
#25209C #312ACF #5E59DD #8F8CE7 #C1BFF2

Accessibility & contrast

On white

5.32
#5E59DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5E59DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59DD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59DD#FFFFFF#000000##FFFFFF
##5E59DD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#0C7992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e59dd;
/* rgb */ color: rgb(94, 89, 221);
/* oklch */ color: oklch(54.4% 0.195 279.4);
Tailwind
colors: {
  custom: {
    50: '#9788e8',
    500: '#5e59dd',
    950: '#000000',
  },
}
SCSS
$custom: #5e59dd;
$custom-light: #9788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59dd",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 242.273,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.19524,
    "h": 279.4
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#5E59DD
secondary
#E0E2B0
accent
#CE18C7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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