#5957E9#5957E9

#5957E9 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.214 H 277.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5957E9
RGBrgb(89, 87, 233)
HSLhsl(241, 77%, 63%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(61.8%, 62.7%, 0%, 8.6%)
CIE-LABlab(45.39, 43.46, -73.69)
CIE-LCHlch(45.39, 85.55, 300.53°)
OKLaboklab(54.71% 0.027 -0.2123)
OKLCHoklch(54.71% 0.214 277.3)
XYZxyz(22.2312, 14.8217, 78.7643)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957E9 #E7E957
analogous
#579EE9 #5957E9 #A257E9
triadic
#5957E9 #E95957 #57E959
tetradic
#5957E9 #E9579E #E7E957 #57E9A2
square
#5957E9 #E9579E #E7E957 #57E9A2
split-complementary
#5957E9 #E9A257 #9EE957
monochromatic
#1917AF #2421E2 #5957E9 #8E8DF0 #C4C3F7

Accessibility & contrast

On white

5.30
#5957E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5957E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957E9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957E9#FFFFFF#000000##FFFFFF
##5957E91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5957e9;
/* rgb */ color: rgb(89, 87, 233);
/* oklch */ color: oklch(54.7% 0.214 277.3);
Tailwind
colors: {
  custom: {
    50: '#9687f1',
    500: '#5957e9',
    950: '#000000',
  },
}
SCSS
$custom: #5957e9;
$custom-light: #9687f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5957e9",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 240.822,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5471,
    "c": 0.21398,
    "h": 277.3
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#5957E9
secondary
#E8E8B3
accent
#D90CD6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5957E9

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

Preview Lab → · Contrast checker → · Palette generator →

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