#5B59F4#5B59F4

#5B59F4 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.225 H 276.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5B59F4
RGBrgb(91, 89, 244)
HSLhsl(241, 88%, 65%)
HSVhsv(241, 64%, 96%)
CMYKcmyk(62.7%, 63.5%, 0%, 4.3%)
CIE-LABlab(46.84, 46.08, -77.50)
CIE-LCHlch(46.84, 90.17, 300.74°)
OKLaboklab(56.08% 0.0269 -0.2234)
OKLCHoklch(56.08% 0.225 276.9)
XYZxyz(24.2106, 15.8986, 87.3633)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59F4 #F2F459
analogous
#59A5F4 #5B59F4 #A859F4
triadic
#5B59F4 #F45B59 #59F45B
tetradic
#5B59F4 #F459A5 #F2F459 #59F4A8
square
#5B59F4 #F459A5 #F2F459 #59F4A8
split-complementary
#5B59F4 #F4A859 #A5F459
monochromatic
#0F0DC6 #2220F0 #5B59F4 #9492F8 #CCCCFC

Accessibility & contrast

On white

5.02
#5B59F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5B59F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59F4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59F4#FFFFFF#000000##FFFFFF
##5B59F41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#0068F1
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b59f4;
/* rgb */ color: rgb(91, 89, 244);
/* oklch */ color: oklch(56.1% 0.225 276.9);
Tailwind
colors: {
  custom: {
    50: '#9988f9',
    500: '#5b59f4',
    950: '#000000',
  },
}
SCSS
$custom: #5b59f4;
$custom-light: #9988f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59f4",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 240.774,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.225,
    "h": 276.9
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#5B59F4
secondary
#EEEFBA
accent
#E401E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B59F4

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

Preview Lab → · Contrast checker → · Palette generator →

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