#5C59CC#5C59CC

#5C59CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.173 H 279.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C59CC
RGBrgb(92, 89, 204)
HSLhsl(242, 53%, 57%)
HSVhsv(242, 56%, 80%)
CMYKcmyk(54.9%, 56.4%, 0%, 20%)
CIE-LABlab(43.91, 33.50, -59.55)
CIE-LCHlch(43.91, 68.32, 299.36°)
OKLaboklab(53% 0.0297 -0.1706)
OKLCHoklch(53% 0.173 279.9)
XYZxyz(18.8817, 13.7785, 58.7796)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C59CC #C9CC59
analogous
#5990CC #5C59CC #9559CC
triadic
#5C59CC #CC5C59 #59CC5C
tetradic
#5C59CC #CC5990 #C9CC59 #59CC95
square
#5C59CC #CC5990 #C9CC59 #59CC95
split-complementary
#5C59CC #CC9559 #90CC59
monochromatic
#2A2883 #3A36B1 #5C59CC #8A88DA #B8B7E9

Accessibility & contrast

On white

5.59
#5C59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5C59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C59CC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C59CC#FFFFFF#000000##FFFFFF
##5C59CC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c59cc;
/* rgb */ color: rgb(92, 89, 204);
/* oklch */ color: oklch(53.0% 0.173 279.9);
Tailwind
colors: {
  custom: {
    50: '#9388dc',
    500: '#5c59cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c59cc;
$custom-light: #9388dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c59cc",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 241.565,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53002,
    "c": 0.17316,
    "h": 279.9
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#5C59CC
secondary
#D6D8A9
accent
#DC4BD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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