#5C59B4#5C59B4

#5C59B4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.140 H 281.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5C59B4
RGBrgb(92, 89, 180)
HSLhsl(242, 38%, 53%)
HSVhsv(242, 51%, 71%)
CMYKcmyk(48.9%, 50.6%, 0%, 29.4%)
CIE-LABlab(42.33, 25.92, -48.15)
CIE-LCHlch(42.33, 54.69, 298.30°)
OKLaboklab(51.31% 0.0285 -0.1371)
OKLCHoklch(51.31% 0.14 281.8)
XYZxyz(16.2217, 12.7145, 44.7706)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C59B4 #B1B459
analogous
#5983B4 #5C59B4 #8959B4
triadic
#5C59B4 #B45C59 #59B45C
tetradic
#5C59B4 #B45983 #B1B459 #59B489
square
#5C59B4 #B45983 #B1B459 #59B489
split-complementary
#5C59B4 #B48959 #83B459
monochromatic
#2F2E65 #43418F #5C59B4 #8583C7 #AFADDA

Accessibility & contrast

On white

5.93
#5C59B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5C59B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C59B4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C59B4#FFFFFF#000000##FFFFFF
##5C59B41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B7
Deuteranopia (green-blind)
#2861B2
Tritanopia (blue-blind)
#3C6D7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c59b4;
/* rgb */ color: rgb(92, 89, 180);
/* oklch */ color: oklch(51.3% 0.140 281.8);
Tailwind
colors: {
  custom: {
    50: '#9088cb',
    500: '#5c59b4',
    950: '#000000',
  },
}
SCSS
$custom: #5c59b4;
$custom-light: #9088cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c59b4",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 241.978,
    "s": 37.759,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.14002,
    "h": 281.8
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#5C59B4
secondary
#C7C8A1
accent
#CE5ACA
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5C59B4

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

Preview Lab → · Contrast checker → · Palette generator →

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