#5957C8#5957C8

#5957C8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.171 H 279.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5957C8
RGBrgb(89, 87, 200)
HSLhsl(241, 51%, 56%)
HSVhsv(241, 57%, 78%)
CMYKcmyk(55.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(42.93, 32.87, -58.85)
CIE-LCHlch(42.93, 67.41, 299.19°)
OKLaboklab(52.12% 0.0281 -0.1686)
OKLCHoklch(52.12% 0.171 279.5)
XYZxyz(17.9501, 13.1092, 56.2168)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957C8 #C6C857
analogous
#578EC8 #5957C8 #9257C8
triadic
#5957C8 #C85957 #57C859
tetradic
#5957C8 #C8578E #C6C857 #57C892
square
#5957C8 #C8578E #C6C857 #57C892
split-complementary
#5957C8 #C89257 #8EC857
monochromatic
#2A297C #3A38AA #5957C8 #8785D7 #B4B3E6

Accessibility & contrast

On white

5.80
#5957C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5957C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957C8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957C8#FFFFFF#000000##FFFFFF
##5957C81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#217187
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5957c8;
/* rgb */ color: rgb(89, 87, 200);
/* oklch */ color: oklch(52.1% 0.171 279.5);
Tailwind
colors: {
  custom: {
    50: '#9186d9',
    500: '#5957c8',
    950: '#000000',
  },
}
SCSS
$custom: #5957c8;
$custom-light: #9186d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5957c8",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 241.062,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52124,
    "c": 0.17096,
    "h": 279.5
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#5957C8
secondary
#D4D5A6
accent
#DA4ED8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5957C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva