#5E59F5#5E59F5

#5E59F5 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.4% C 0.226 H 277.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5E59F5
RGBrgb(94, 89, 245)
HSLhsl(242, 89%, 65%)
HSVhsv(242, 64%, 96%)
CMYKcmyk(61.6%, 63.7%, 0%, 3.9%)
CIE-LABlab(47.13, 46.83, -77.59)
CIE-LCHlch(47.13, 90.62, 301.11°)
OKLaboklab(56.36% 0.0304 -0.2235)
OKLCHoklch(56.36% 0.226 277.7)
XYZxyz(24.6646, 16.1151, 88.1793)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59F5 #F0F559
analogous
#59A2F5 #5E59F5 #AC59F5
triadic
#5E59F5 #F55E59 #59F55E
tetradic
#5E59F5 #F559A2 #F0F559 #59F5AC
square
#5E59F5 #F559A2 #F0F559 #59F5AC
split-complementary
#5E59F5 #F5AC59 #A2F559
monochromatic
#120CC8 #261FF2 #5E59F5 #9693F8 #CECCFC

Accessibility & contrast

On white

4.97
#5E59F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5E59F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59F5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59F5#FFFFFF#000000##FFFFFF
##5E59F51.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#0069F2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e59f5;
/* rgb */ color: rgb(94, 89, 245);
/* oklch */ color: oklch(56.4% 0.226 277.7);
Tailwind
colors: {
  custom: {
    50: '#9b88fa',
    500: '#5e59f5',
    950: '#000000',
  },
}
SCSS
$custom: #5e59f5;
$custom-light: #9b88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59f5",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 241.923,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.2256,
    "h": 277.7
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#5E59F5
secondary
#EDEFBB
accent
#E500DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E59F5

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

Preview Lab → · Contrast checker → · Palette generator →

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