#5957DC#5957DC

#5957DC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.7% C 0.197 H 278.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5957DC
RGBrgb(89, 87, 220)
HSLhsl(241, 66%, 60%)
HSVhsv(241, 60%, 86%)
CMYKcmyk(59.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.38, 39.29, -67.96)
CIE-LCHlch(44.38, 78.50, 300.04°)
OKLaboklab(53.66% 0.0278 -0.1954)
OKLCHoklch(53.66% 0.197 278.1)
XYZxyz(20.4421, 14.1060, 69.3418)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957DC #DADC57
analogous
#5798DC #5957DC #9B57DC
triadic
#5957DC #DC5957 #57DC59
tetradic
#5957DC #DC5798 #DADC57 #57DC9B
square
#5957DC #DC5798 #DADC57 #57DC9B
split-complementary
#5957DC #DC9B57 #98DC57
monochromatic
#222099 #2D2ACB #5957DC #8B8AE7 #BDBCF1

Accessibility & contrast

On white

5.50
#5957DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5957DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957DC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957DC#FFFFFF#000000##FFFFFF
##5957DC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5957dc;
/* rgb */ color: rgb(89, 87, 220);
/* oklch */ color: oklch(53.7% 0.197 278.1);
Tailwind
colors: {
  custom: {
    50: '#9487e8',
    500: '#5957dc',
    950: '#000000',
  },
}
SCSS
$custom: #5957dc;
$custom-light: #9487e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5957dc",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 240.902,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.19739,
    "h": 278.1
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#5957DC
secondary
#E0E1AE
accent
#CD18CB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5957DC

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

Preview Lab → · Contrast checker → · Palette generator →

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