#5F59E9#5F59E9

#5F59E9 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.5% C 0.210 H 278.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F59E9
RGBrgb(95, 89, 233)
HSLhsl(243, 77%, 63%)
HSVhsv(243, 62%, 91%)
CMYKcmyk(59.2%, 61.8%, 0%, 8.6%)
CIE-LABlab(46.26, 43.21, -72.26)
CIE-LCHlch(46.26, 84.19, 300.88°)
OKLaboklab(55.45% 0.0325 -0.2079)
OKLCHoklch(55.45% 0.21 278.9)
XYZxyz(22.9950, 15.4592, 78.8472)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59E9 #E3E959
analogous
#599BE9 #5F59E9 #A759E9
triadic
#5F59E9 #E95F59 #59E95F
tetradic
#5F59E9 #E9599B #E3E959 #59E9A7
square
#5F59E9 #E9599B #E3E959 #59E9A7
split-complementary
#5F59E9 #E9A759 #9BE959
monochromatic
#1E17B0 #2B23E2 #5F59E9 #938FF0 #C7C5F7

Accessibility & contrast

On white

5.13
#5F59E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5F59E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59E9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59E9#FFFFFF#000000##FFFFFF
##5F59E91.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f59e9;
/* rgb */ color: rgb(95, 89, 233);
/* oklch */ color: oklch(55.5% 0.210 278.9);
Tailwind
colors: {
  custom: {
    50: '#9988f1',
    500: '#5f59e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f59e9;
$custom-light: #9988f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59e9",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 242.5,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55453,
    "c": 0.21041,
    "h": 278.9
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#5F59E9
secondary
#E7E9B5
accent
#D90DD0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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