#5957E8#5957E8

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

Color values

HEX#5957E8
RGBrgb(89, 87, 232)
HSLhsl(241, 76%, 63%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(61.6%, 62.5%, 0%, 9%)
CIE-LABlab(45.31, 43.14, -73.26)
CIE-LCHlch(45.31, 85.02, 300.49°)
OKLaboklab(54.63% 0.0271 -0.211)
OKLCHoklch(54.63% 0.213 277.3)
XYZxyz(22.0888, 14.7647, 78.0141)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957E8 #E6E857
analogous
#579DE8 #5957E8 #A257E8
triadic
#5957E8 #E85957 #57E859
tetradic
#5957E8 #E8579D #E6E857 #57E8A2
square
#5957E8 #E8579D #E6E857 #57E8A2
split-complementary
#5957E8 #E8A257 #9DE857
monochromatic
#1A18AD #2421E1 #5957E8 #8E8DEF #C3C3F7

Accessibility & contrast

On white

5.31
#5957E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5957E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957E8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957E8#FFFFFF#000000##FFFFFF
##5957E81.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5957e8;
/* rgb */ color: rgb(89, 87, 232);
/* oklch */ color: oklch(54.6% 0.213 277.3);
Tailwind
colors: {
  custom: {
    50: '#9687f0',
    500: '#5957e8',
    950: '#000000',
  },
}
SCSS
$custom: #5957e8;
$custom-light: #9687f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5957e8",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 240.828,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.21272,
    "h": 277.3
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#5957E8
secondary
#E7E8B3
accent
#D80DD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5957E8

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

Preview Lab → · Contrast checker → · Palette generator →

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