#5957EC#5957EC

#5957EC is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.218 H 277.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5957EC
RGBrgb(89, 87, 236)
HSLhsl(241, 80%, 63%)
HSVhsv(241, 63%, 93%)
CMYKcmyk(62.3%, 63.1%, 0%, 7.5%)
CIE-LABlab(45.63, 44.42, -75.00)
CIE-LCHlch(45.63, 87.16, 300.64°)
OKLaboklab(54.96% 0.0268 -0.2161)
OKLCHoklch(54.96% 0.218 277.1)
XYZxyz(22.6634, 14.9945, 81.0405)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957EC #EAEC57
analogous
#57A0EC #5957EC #A357EC
triadic
#5957EC #EC5957 #57EC59
tetradic
#5957EC #EC57A0 #EAEC57 #57ECA3
square
#5957EC #EC57A0 #EAEC57 #57ECA3
split-complementary
#5957EC #ECA357 #A0EC57
monochromatic
#1714B4 #2320E6 #5957EC #8F8EF2 #C6C5F8

Accessibility & contrast

On white

5.25
#5957EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5957EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957EC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957EC#FFFFFF#000000##FFFFFF
##5957EC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5957ec;
/* rgb */ color: rgb(89, 87, 236);
/* oklch */ color: oklch(55.0% 0.218 277.1);
Tailwind
colors: {
  custom: {
    50: '#9787f3',
    500: '#5957ec',
    950: '#000000',
  },
}
SCSS
$custom: #5957ec;
$custom-light: #9787f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5957ec",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 240.805,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.21776,
    "h": 277.1
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#5957EC
secondary
#E9EAB5
accent
#DC0AD9
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5957EC

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

Preview Lab → · Contrast checker → · Palette generator →

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