#5C59DC#5C59DC

#5C59DC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.2% C 0.194 H 278.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C59DC
RGBrgb(92, 89, 220)
HSLhsl(241, 65%, 61%)
HSVhsv(241, 60%, 86%)
CMYKcmyk(58.2%, 59.5%, 0%, 13.7%)
CIE-LABlab(45.06, 38.59, -66.85)
CIE-LCHlch(45.06, 77.19, 300.00°)
OKLaboklab(54.21% 0.0295 -0.1921)
OKLCHoklch(54.21% 0.194 278.7)
XYZxyz(20.9002, 14.5859, 69.4103)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C59DC #D9DC59
analogous
#5997DC #5C59DC #9D59DC
triadic
#5C59DC #DC5C59 #59DC5C
tetradic
#5C59DC #DC5997 #D9DC59 #59DC9D
square
#5C59DC #DC5997 #D9DC59 #59DC9D
split-complementary
#5C59DC #DC9D59 #97DC59
monochromatic
#23209A #2F2BCD #5C59DC #8E8CE7 #BFBEF1

Accessibility & contrast

On white

5.36
#5C59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5C59DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C59DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C59DC#FFFFFF#000000##FFFFFF
##5C59DC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c59dc;
/* rgb */ color: rgb(92, 89, 220);
/* oklch */ color: oklch(54.2% 0.194 278.7);
Tailwind
colors: {
  custom: {
    50: '#9688e8',
    500: '#5c59dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c59dc;
$custom-light: #9688e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c59dc",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 241.374,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.19432,
    "h": 278.7
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#5C59DC
secondary
#E0E1AF
accent
#CD18C9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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