#5B59F3#5B59F3

#5B59F3 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.224 H 276.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B59F3
RGBrgb(91, 89, 243)
HSLhsl(241, 87%, 65%)
HSVhsv(241, 63%, 95%)
CMYKcmyk(62.6%, 63.4%, 0%, 4.7%)
CIE-LABlab(46.76, 45.77, -77.07)
CIE-LCHlch(46.76, 89.63, 300.70°)
OKLaboklab(55.99% 0.027 -0.2221)
OKLCHoklch(55.99% 0.224 276.9)
XYZxyz(24.0592, 15.8380, 86.5658)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59F3 #F1F359
analogous
#59A4F3 #5B59F3 #A859F3
triadic
#5B59F3 #F35B59 #59F35B
tetradic
#5B59F3 #F359A4 #F1F359 #59F3A8
square
#5B59F3 #F359A4 #F1F359 #59F3A8
split-complementary
#5B59F3 #F3A859 #A4F359
monochromatic
#100EC3 #2320EF #5B59F3 #9392F7 #CCCBFB

Accessibility & contrast

On white

5.04
#5B59F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5B59F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59F3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59F3#FFFFFF#000000##FFFFFF
##5B59F31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#0068F0
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b59f3;
/* rgb */ color: rgb(91, 89, 243);
/* oklch */ color: oklch(56.0% 0.224 276.9);
Tailwind
colors: {
  custom: {
    50: '#9988f8',
    500: '#5b59f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b59f3;
$custom-light: #9988f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59f3",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 240.779,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.22376,
    "h": 276.9
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#5B59F3
secondary
#EDEEBA
accent
#E302E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B59F3

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

Preview Lab → · Contrast checker → · Palette generator →

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