#5C59C8#5C59C8

#5C59C8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.168 H 280.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5C59C8
RGBrgb(92, 89, 200)
HSLhsl(242, 50%, 57%)
HSVhsv(242, 56%, 78%)
CMYKcmyk(54%, 55.5%, 0%, 21.6%)
CIE-LABlab(43.64, 32.23, -57.69)
CIE-LCHlch(43.64, 66.08, 299.19°)
OKLaboklab(52.71% 0.0296 -0.1651)
OKLCHoklch(52.71% 0.168 280.2)
XYZxyz(18.4081, 13.5891, 56.2853)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C59C8 #C5C859
analogous
#598EC8 #5C59C8 #9459C8
triadic
#5C59C8 #C85C59 #59C85C
tetradic
#5C59C8 #C8598E #C5C859 #59C894
square
#5C59C8 #C8598E #C5C859 #59C894
split-complementary
#5C59C8 #C89459 #8EC859
monochromatic
#2C297D #3C39AB #5C59C8 #8987D7 #B6B5E6

Accessibility & contrast

On white

5.65
#5C59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5C59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C59C8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C59C8#FFFFFF#000000##FFFFFF
##5C59C81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6BCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#2A7288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c59c8;
/* rgb */ color: rgb(92, 89, 200);
/* oklch */ color: oklch(52.7% 0.168 280.2);
Tailwind
colors: {
  custom: {
    50: '#9388d9',
    500: '#5c59c8',
    950: '#000000',
  },
}
SCSS
$custom: #5c59c8;
$custom-light: #9388d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c59c8",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 241.622,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.16776,
    "h": 280.2
  },
  "luminance": 0.1359
}

Semantic roles & 50–950 ramp

primary
#5C59C8
secondary
#D4D5A8
accent
#DA4ED6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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