#5957CD#5957CD

#5957CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.178 H 279.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5957CD
RGBrgb(89, 87, 205)
HSLhsl(241, 54%, 57%)
HSVhsv(241, 58%, 80%)
CMYKcmyk(56.6%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.28, 34.47, -61.16)
CIE-LCHlch(43.28, 70.21, 299.41°)
OKLaboklab(52.5% 0.0281 -0.1754)
OKLCHoklch(52.5% 0.178 279.1)
XYZxyz(18.5440, 13.3468, 59.3448)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957CD #CBCD57
analogous
#5790CD #5957CD #9457CD
triadic
#5957CD #CD5957 #57CD59
tetradic
#5957CD #CD5790 #CBCD57 #57CD94
square
#5957CD #CD5790 #CBCD57 #57CD94
split-complementary
#5957CD #CD9457 #90CD57
monochromatic
#282783 #3735B2 #5957CD #8886DB #B6B5E9

Accessibility & contrast

On white

5.72
#5957CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5957CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957CD#FFFFFF#000000##FFFFFF
##5957CD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#187389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5957cd;
/* rgb */ color: rgb(89, 87, 205);
/* oklch */ color: oklch(52.5% 0.178 279.1);
Tailwind
colors: {
  custom: {
    50: '#9286dd',
    500: '#5957cd',
    950: '#000000',
  },
}
SCSS
$custom: #5957cd;
$custom-light: #9286dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5957cd",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 241.017,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.17768,
    "h": 279.1
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#5957CD
secondary
#D7D8A8
accent
#DD4ADB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957CD

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

Preview Lab → · Contrast checker → · Palette generator →

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