#5B59CC#5B59CC

#5B59CC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.173 H 279.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5B59CC
RGBrgb(91, 89, 204)
HSLhsl(241, 53%, 57%)
HSVhsv(241, 56%, 80%)
CMYKcmyk(55.4%, 56.4%, 0%, 20%)
CIE-LABlab(43.84, 33.31, -59.67)
CIE-LCHlch(43.84, 68.34, 299.17°)
OKLaboklab(52.93% 0.0285 -0.171)
OKLCHoklch(52.93% 0.173 279.5)
XYZxyz(18.7824, 13.7273, 58.7749)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59CC #CACC59
analogous
#5991CC #5B59CC #9459CC
triadic
#5B59CC #CC5B59 #59CC5B
tetradic
#5B59CC #CC5991 #CACC59 #59CC94
square
#5B59CC #CC5991 #CACC59 #59CC94
split-complementary
#5B59CC #CC9459 #91CC59
monochromatic
#2A2883 #3936B1 #5B59CC #8988DA #B8B7E9

Accessibility & contrast

On white

5.61
#5B59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5B59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59CC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59CC#FFFFFF#000000##FFFFFF
##5B59CC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#22748A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b59cc;
/* rgb */ color: rgb(91, 89, 204);
/* oklch */ color: oklch(52.9% 0.173 279.5);
Tailwind
colors: {
  custom: {
    50: '#9388dc',
    500: '#5b59cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b59cc;
$custom-light: #9388dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59cc",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 241.043,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.17335,
    "h": 279.5
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#5B59CC
secondary
#D7D8A9
accent
#DC4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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