#5C59CD#5C59CD

#5C59CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.174 H 279.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5C59CD
RGBrgb(92, 89, 205)
HSLhsl(242, 54%, 58%)
HSVhsv(242, 57%, 80%)
CMYKcmyk(55.1%, 56.6%, 0%, 19.6%)
CIE-LABlab(43.98, 33.82, -60.01)
CIE-LCHlch(43.98, 68.88, 299.40°)
OKLaboklab(53.08% 0.0297 -0.172)
OKLCHoklch(53.08% 0.175 279.8)
XYZxyz(19.0020, 13.8266, 59.4133)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C59CD #CACD59
analogous
#5990CD #5C59CD #9659CD
triadic
#5C59CD #CD5C59 #59CD5C
tetradic
#5C59CD #CD5990 #CACD59 #59CD96
square
#5C59CD #CD5990 #CACD59 #59CD96
split-complementary
#5C59CD #CD9659 #90CD59
monochromatic
#2A2884 #3936B3 #5C59CD #8A88DB #B8B7E9

Accessibility & contrast

On white

5.58
#5C59CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5C59CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C59CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C59CD#FFFFFF#000000##FFFFFF
##5C59CD1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#24748A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c59cd;
/* rgb */ color: rgb(92, 89, 205);
/* oklch */ color: oklch(53.1% 0.174 279.8);
Tailwind
colors: {
  custom: {
    50: '#9388dd',
    500: '#5c59cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c59cd;
$custom-light: #9388dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c59cd",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 241.552,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.1745,
    "h": 279.8
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#5C59CD
secondary
#D7D8AA
accent
#DD4BD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C59CD

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

Preview Lab → · Contrast checker → · Palette generator →

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