#5957CC#5957CC

#5957CC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.176 H 279.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5957CC
RGBrgb(89, 87, 204)
HSLhsl(241, 53%, 57%)
HSVhsv(241, 57%, 80%)
CMYKcmyk(56.4%, 57.4%, 0%, 20%)
CIE-LABlab(43.21, 34.15, -60.70)
CIE-LCHlch(43.21, 69.65, 299.36°)
OKLaboklab(52.42% 0.0281 -0.1741)
OKLCHoklch(52.42% 0.176 279.2)
XYZxyz(18.4237, 13.2986, 58.7111)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957CC #CACC57
analogous
#578FCC #5957CC #9457CC
triadic
#5957CC #CC5957 #57CC59
tetradic
#5957CC #CC578F #CACC57 #57CC94
square
#5957CC #CC578F #CACC57 #57CC94
split-complementary
#5957CC #CC9457 #8FCC57
monochromatic
#292781 #3836B0 #5957CC #8786DA #B6B5E9

Accessibility & contrast

On white

5.74
#5957CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5957CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957CC#FFFFFF#000000##FFFFFF
##5957CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#1A7389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5957cc;
/* rgb */ color: rgb(89, 87, 204);
/* oklch */ color: oklch(52.4% 0.176 279.2);
Tailwind
colors: {
  custom: {
    50: '#9286dc',
    500: '#5957cc',
    950: '#000000',
  },
}
SCSS
$custom: #5957cc;
$custom-light: #9286dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5957cc",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 241.026,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.17633,
    "h": 279.2
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#5957CC
secondary
#D6D7A8
accent
#DD4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957CC

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

Preview Lab → · Contrast checker → · Palette generator →

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