#5957CF#5957CF

#5957CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.180 H 279.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5957CF
RGBrgb(89, 87, 207)
HSLhsl(241, 56%, 58%)
HSVhsv(241, 58%, 81%)
CMYKcmyk(57%, 58%, 0%, 18.8%)
CIE-LABlab(43.42, 35.12, -62.08)
CIE-LCHlch(43.42, 71.32, 299.50°)
OKLaboklab(52.65% 0.0281 -0.1781)
OKLCHoklch(52.65% 0.18 279)
XYZxyz(18.7869, 13.4439, 60.6243)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957CF #CDCF57
analogous
#5791CF #5957CF #9557CF
triadic
#5957CF #CF5957 #57CF59
tetradic
#5957CF #CF5791 #CDCF57 #57CF95
square
#5957CF #CF5791 #CDCF57 #57CF95
split-complementary
#5957CF #CF9557 #91CF57
monochromatic
#282685 #3634B5 #5957CF #8887DD #B7B6EA

Accessibility & contrast

On white

5.69
#5957CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5957CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957CF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957CF#FFFFFF#000000##FFFFFF
##5957CF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#13738A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5957cf;
/* rgb */ color: rgb(89, 87, 207);
/* oklch */ color: oklch(52.6% 0.180 279.0);
Tailwind
colors: {
  custom: {
    50: '#9286de',
    500: '#5957cf',
    950: '#000000',
  },
}
SCSS
$custom: #5957cf;
$custom-light: #9286de;
$custom-dark: #000000;
JSON
{
  "hex": "#5957cf",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 241,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.18034,
    "h": 279
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#5957CF
secondary
#D8D9A9
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957CF

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

Preview Lab → · Contrast checker → · Palette generator →

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