#5F59EC#5F59EC

#5F59EC is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.214 H 278.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F59EC
RGBrgb(95, 89, 236)
HSLhsl(242, 79%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(59.7%, 62.3%, 0%, 7.5%)
CIE-LABlab(46.49, 44.15, -73.57)
CIE-LCHlch(46.49, 85.80, 300.97°)
OKLaboklab(55.69% 0.0323 -0.2117)
OKLCHoklch(55.69% 0.214 278.7)
XYZxyz(23.4272, 15.6320, 81.1234)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59EC #E6EC59
analogous
#599CEC #5F59EC #A859EC
triadic
#5F59EC #EC5F59 #59EC5F
tetradic
#5F59EC #EC599C #E6EC59 #59ECA8
square
#5F59EC #EC599C #E6EC59 #59ECA8
split-complementary
#5F59EC #ECA859 #9CEC59
monochromatic
#1B15B6 #2A22E6 #5F59EC #9490F2 #C9C7F9

Accessibility & contrast

On white

5.09
#5F59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5F59EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59EC#FFFFFF#000000##FFFFFF
##5F59EC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f59ec;
/* rgb */ color: rgb(95, 89, 236);
/* oklch */ color: oklch(55.7% 0.214 278.7);
Tailwind
colors: {
  custom: {
    50: '#9a88f3',
    500: '#5f59ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f59ec;
$custom-light: #9a88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59ec",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 242.449,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.21419,
    "h": 278.7
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#5F59EC
secondary
#E8EAB6
accent
#DC0AD3
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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