#5F59ED#5F59ED

#5F59ED is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.215 H 278.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5F59ED
RGBrgb(95, 89, 237)
HSLhsl(242, 80%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(59.9%, 62.4%, 0%, 7.1%)
CIE-LABlab(46.57, 44.46, -74.01)
CIE-LCHlch(46.57, 86.34, 301.00°)
OKLaboklab(55.78% 0.0322 -0.213)
OKLCHoklch(55.78% 0.215 278.6)
XYZxyz(23.5729, 15.6903, 81.8907)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59ED #E7ED59
analogous
#599DED #5F59ED #A959ED
triadic
#5F59ED #ED5F59 #59ED5F
tetradic
#5F59ED #ED599D #E7ED59 #59EDA9
square
#5F59ED #ED599D #E7ED59 #59EDA9
split-complementary
#5F59ED #EDA959 #9DED59
monochromatic
#1B14B8 #2A22E7 #5F59ED #9490F3 #C9C7F9

Accessibility & contrast

On white

5.07
#5F59ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5F59ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59ED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59ED#FFFFFF#000000##FFFFFF
##5F59ED1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f59ed;
/* rgb */ color: rgb(95, 89, 237);
/* oklch */ color: oklch(55.8% 0.215 278.6);
Tailwind
colors: {
  custom: {
    50: '#9a88f4',
    500: '#5f59ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f59ed;
$custom-light: #9a88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59ed",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 242.432,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55775,
    "c": 0.21545,
    "h": 278.6
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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