#5F59E6#5F59E6

#5F59E6 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.2% C 0.207 H 279.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F59E6
RGBrgb(95, 89, 230)
HSLhsl(243, 74%, 63%)
HSVhsv(243, 61%, 90%)
CMYKcmyk(58.7%, 61.3%, 0%, 9.8%)
CIE-LABlab(46.03, 42.26, -70.94)
CIE-LCHlch(46.03, 82.57, 300.78°)
OKLaboklab(55.21% 0.0327 -0.204)
OKLCHoklch(55.21% 0.207 279.1)
XYZxyz(22.5701, 15.2892, 76.6093)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59E6 #E0E659
analogous
#599AE6 #5F59E6 #A559E6
triadic
#5F59E6 #E65F59 #59E65F
tetradic
#5F59E6 #E6599A #E0E659 #59E6A5
square
#5F59E6 #E6599A #E0E659 #59E6A5
split-complementary
#5F59E6 #E6A559 #9AE659
monochromatic
#201AAB #2C24DE #5F59E6 #928EEE #C6C3F6

Accessibility & contrast

On white

5.17
#5F59E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5F59E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59E6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59E6#FFFFFF#000000##FFFFFF
##5F59E61.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f59e6;
/* rgb */ color: rgb(95, 89, 230);
/* oklch */ color: oklch(55.2% 0.207 279.1);
Tailwind
colors: {
  custom: {
    50: '#9988ef',
    500: '#5f59e6',
    950: '#000000',
  },
}
SCSS
$custom: #5f59e6;
$custom-light: #9988ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59e6",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 242.553,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.20661,
    "h": 279.1
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#5F59E6
secondary
#E5E7B4
accent
#D610CD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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