#5957DD#5957DD

#5957DD is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.199 H 278.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5957DD
RGBrgb(89, 87, 221)
HSLhsl(241, 66%, 60%)
HSVhsv(241, 61%, 87%)
CMYKcmyk(59.7%, 60.6%, 0%, 13.3%)
CIE-LABlab(44.46, 39.61, -68.41)
CIE-LCHlch(44.46, 79.05, 300.07°)
OKLaboklab(53.74% 0.0277 -0.1967)
OKLCHoklch(53.74% 0.199 278)
XYZxyz(20.5750, 14.1592, 70.0414)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957DD #DBDD57
analogous
#5798DD #5957DD #9C57DD
triadic
#5957DD #DD5957 #57DD59
tetradic
#5957DD #DD5798 #DBDD57 #57DD9C
square
#5957DD #DD5798 #DBDD57 #57DD9C
split-complementary
#5957DD #DD9C57 #98DD57
monochromatic
#211F9A #2C2ACD #5957DD #8B8AE7 #BEBDF2

Accessibility & contrast

On white

5.48
#5957DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5957DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957DD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957DD#FFFFFF#000000##FFFFFF
##5957DD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5957dd;
/* rgb */ color: rgb(89, 87, 221);
/* oklch */ color: oklch(53.7% 0.199 278.0);
Tailwind
colors: {
  custom: {
    50: '#9487e9',
    500: '#5957dd',
    950: '#000000',
  },
}
SCSS
$custom: #5957dd;
$custom-light: #9487e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5957dd",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 240.896,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5374,
    "c": 0.19868,
    "h": 278
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#5957DD
secondary
#E1E1AE
accent
#CE17CB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5957DD

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

Preview Lab → · Contrast checker → · Palette generator →

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