#5957E7#5957E7

#5957E7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.5% C 0.211 H 277.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5957E7
RGBrgb(89, 87, 231)
HSLhsl(241, 75%, 62%)
HSVhsv(241, 62%, 91%)
CMYKcmyk(61.5%, 62.3%, 0%, 9.4%)
CIE-LABlab(45.23, 42.82, -72.82)
CIE-LCHlch(45.23, 84.48, 300.46°)
OKLaboklab(54.55% 0.0272 -0.2097)
OKLCHoklch(54.55% 0.211 277.4)
XYZxyz(21.9472, 14.7080, 77.2682)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957E7 #E5E757
analogous
#579DE7 #5957E7 #A157E7
triadic
#5957E7 #E75957 #57E759
tetradic
#5957E7 #E7579D #E5E757 #57E7A1
square
#5957E7 #E7579D #E5E757 #57E7A1
split-complementary
#5957E7 #E7A157 #9DE757
monochromatic
#1A18AB #2421DF #5957E7 #8E8DEF #C3C2F6

Accessibility & contrast

On white

5.33
#5957E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5957E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957E7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957E7#FFFFFF#000000##FFFFFF
##5957E71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5957e7;
/* rgb */ color: rgb(89, 87, 231);
/* oklch */ color: oklch(54.5% 0.211 277.4);
Tailwind
colors: {
  custom: {
    50: '#9687f0',
    500: '#5957e7',
    950: '#000000',
  },
}
SCSS
$custom: #5957e7;
$custom-light: #9687f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5957e7",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 240.833,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.21146,
    "h": 277.4
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#5957E7
secondary
#E6E7B3
accent
#D70ED4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5957E7

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

Preview Lab → · Contrast checker → · Palette generator →

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