#5E59E5#5E59E5

#5E59E5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.206 H 278.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5E59E5
RGBrgb(94, 89, 229)
HSLhsl(242, 73%, 62%)
HSVhsv(242, 61%, 90%)
CMYKcmyk(59%, 61.1%, 0%, 10.2%)
CIE-LABlab(45.88, 41.78, -70.62)
CIE-LCHlch(45.88, 82.05, 300.61°)
OKLaboklab(55.06% 0.0315 -0.2031)
OKLCHoklch(55.06% 0.206 278.8)
XYZxyz(22.3268, 15.1800, 75.8670)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59E5 #E0E559
analogous
#599AE5 #5E59E5 #A459E5
triadic
#5E59E5 #E55E59 #59E55E
tetradic
#5E59E5 #E5599A #E0E559 #59E5A4
square
#5E59E5 #E5599A #E0E559 #59E5A4
split-complementary
#5E59E5 #E5A459 #9AE559
monochromatic
#201AA9 #2B24DD #5E59E5 #918EED #C5C3F6

Accessibility & contrast

On white

5.20
#5E59E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5E59E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59E5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59E5#FFFFFF#000000##FFFFFF
##5E59E51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e59e5;
/* rgb */ color: rgb(94, 89, 229);
/* oklch */ color: oklch(55.1% 0.206 278.8);
Tailwind
colors: {
  custom: {
    50: '#9888ee',
    500: '#5e59e5',
    950: '#000000',
  },
}
SCSS
$custom: #5e59e5;
$custom-light: #9888ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59e5",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 242.143,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55063,
    "c": 0.20552,
    "h": 278.8
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#5E59E5
secondary
#E5E6B3
accent
#D510CE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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