#5B59E3#5B59E3

#5B59E3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.7% C 0.204 H 277.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B59E3
RGBrgb(91, 89, 227)
HSLhsl(241, 71%, 62%)
HSVhsv(241, 61%, 89%)
CMYKcmyk(59.9%, 60.8%, 0%, 11%)
CIE-LABlab(45.52, 40.66, -70.09)
CIE-LCHlch(45.52, 81.03, 300.12°)
OKLaboklab(54.69% 0.028 -0.2016)
OKLCHoklch(54.69% 0.204 277.9)
XYZxyz(21.7474, 14.9133, 74.3907)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59E3 #E1E359
analogous
#599CE3 #5B59E3 #A059E3
triadic
#5B59E3 #E35B59 #59E35B
tetradic
#5B59E3 #E3599C #E1E359 #59E3A0
square
#5B59E3 #E3599C #E1E359 #59E3A0
split-complementary
#5B59E3 #E3A059 #9CE359
monochromatic
#1E1CA6 #2725DA #5B59E3 #8F8DEC #C2C2F5

Accessibility & contrast

On white

5.27
#5B59E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5B59E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59E3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59E3#FFFFFF#000000##FFFFFF
##5B59E31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b59e3;
/* rgb */ color: rgb(91, 89, 227);
/* oklch */ color: oklch(54.7% 0.204 277.9);
Tailwind
colors: {
  custom: {
    50: '#9688ed',
    500: '#5b59e3',
    950: '#000000',
  },
}
SCSS
$custom: #5b59e3;
$custom-light: #9688ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59e3",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 240.87,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.20356,
    "h": 277.9
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#5B59E3
secondary
#E5E5B2
accent
#D312D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B59E3

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

Preview Lab → · Contrast checker → · Palette generator →

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