#5F59E7#5F59E7

#5F59E7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.208 H 279.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5F59E7
RGBrgb(95, 89, 231)
HSLhsl(243, 75%, 63%)
HSVhsv(243, 61%, 91%)
CMYKcmyk(58.9%, 61.5%, 0%, 9.4%)
CIE-LABlab(46.10, 42.58, -71.38)
CIE-LCHlch(46.10, 83.11, 300.82°)
OKLaboklab(55.29% 0.0326 -0.2053)
OKLCHoklch(55.29% 0.208 279)
XYZxyz(22.7109, 15.3455, 77.3510)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59E7 #E1E759
analogous
#599AE7 #5F59E7 #A659E7
triadic
#5F59E7 #E75F59 #59E75F
tetradic
#5F59E7 #E7599A #E1E759 #59E7A6
square
#5F59E7 #E7599A #E1E759 #59E7A6
split-complementary
#5F59E7 #E7A659 #9AE759
monochromatic
#1F19AD #2B24DF #5F59E7 #938EEF #C6C4F6

Accessibility & contrast

On white

5.16
#5F59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5F59E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59E7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59E7#FFFFFF#000000##FFFFFF
##5F59E71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f59e7;
/* rgb */ color: rgb(95, 89, 231);
/* oklch */ color: oklch(55.3% 0.208 279.0);
Tailwind
colors: {
  custom: {
    50: '#9988f0',
    500: '#5f59e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f59e7;
$custom-light: #9988f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59e7",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 242.535,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55293,
    "c": 0.20788,
    "h": 279
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#5F59E7
secondary
#E5E8B4
accent
#D70FCE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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