#5E59C8#5E59C8

#5E59C8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.167 H 281.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5E59C8
RGBrgb(94, 89, 200)
HSLhsl(243, 50%, 57%)
HSVhsv(243, 56%, 78%)
CMYKcmyk(53%, 55.5%, 0%, 21.6%)
CIE-LABlab(43.79, 32.63, -57.43)
CIE-LCHlch(43.79, 66.05, 299.60°)
OKLaboklab(52.86% 0.032 -0.1643)
OKLCHoklch(52.86% 0.167 281)
XYZxyz(18.6106, 13.6935, 56.2948)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59C8 #C3C859
analogous
#598CC8 #5E59C8 #9659C8
triadic
#5E59C8 #C85E59 #59C85E
tetradic
#5E59C8 #C8598C #C3C859 #59C896
square
#5E59C8 #C8598C #C3C859 #59C896
split-complementary
#5E59C8 #C89659 #8CC859
monochromatic
#2D297D #3E39AB #5E59C8 #8B87D7 #B7B5E6

Accessibility & contrast

On white

5.62
#5E59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5E59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59C8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59C8#FFFFFF#000000##FFFFFF
##5E59C81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6CCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#307288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e59c8;
/* rgb */ color: rgb(94, 89, 200);
/* oklch */ color: oklch(52.9% 0.167 281.0);
Tailwind
colors: {
  custom: {
    50: '#9488d9',
    500: '#5e59c8',
    950: '#000000',
  },
}
SCSS
$custom: #5e59c8;
$custom-light: #9488d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59c8",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 242.703,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.16741,
    "h": 281
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#5E59C8
secondary
#D3D5A8
accent
#DA4ED3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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