#5F59EE#5F59EE

#5F59EE is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.217 H 278.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F59EE
RGBrgb(95, 89, 238)
HSLhsl(242, 81%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(60.1%, 62.6%, 0%, 6.7%)
CIE-LABlab(46.64, 44.78, -74.45)
CIE-LCHlch(46.64, 86.87, 301.03°)
OKLaboklab(55.86% 0.0321 -0.2143)
OKLCHoklch(55.86% 0.217 278.5)
XYZxyz(23.7194, 15.7489, 82.6623)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59EE #E8EE59
analogous
#599EEE #5F59EE #AA59EE
triadic
#5F59EE #EE5F59 #59EE5F
tetradic
#5F59EE #EE599E #E8EE59 #59EEAA
square
#5F59EE #EE599E #E8EE59 #59EEAA
split-complementary
#5F59EE #EEAA59 #9EEE59
monochromatic
#1A13BA #2921E8 #5F59EE #9591F4 #CAC8F9

Accessibility & contrast

On white

5.06
#5F59EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5F59EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59EE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59EE#FFFFFF#000000##FFFFFF
##5F59EE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f59ee;
/* rgb */ color: rgb(95, 89, 238);
/* oklch */ color: oklch(55.9% 0.217 278.5);
Tailwind
colors: {
  custom: {
    50: '#9a88f5',
    500: '#5f59ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f59ee;
$custom-light: #9a88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59ee",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 242.416,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.21671,
    "h": 278.5
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

primary
#5F59EE
secondary
#E9EBB7
accent
#DE08D5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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