#5957EA#5957EA

#5957EA is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.215 H 277.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5957EA
RGBrgb(89, 87, 234)
HSLhsl(241, 78%, 63%)
HSVhsv(241, 63%, 92%)
CMYKcmyk(62%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.47, 43.78, -74.13)
CIE-LCHlch(45.47, 86.09, 300.57°)
OKLaboklab(54.79% 0.027 -0.2135)
OKLCHoklch(54.79% 0.215 277.2)
XYZxyz(22.3745, 14.8790, 79.5188)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957EA #E8EA57
analogous
#579FEA #5957EA #A257EA
triadic
#5957EA #EA5957 #57EA59
tetradic
#5957EA #EA579F #E8EA57 #57EAA2
square
#5957EA #EA579F #E8EA57 #57EAA2
split-complementary
#5957EA #EAA257 #9FEA57
monochromatic
#1816B1 #2321E3 #5957EA #8F8DF1 #C5C4F8

Accessibility & contrast

On white

5.28
#5957EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5957EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957EA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957EA#FFFFFF#000000##FFFFFF
##5957EA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5957ea;
/* rgb */ color: rgb(89, 87, 234);
/* oklch */ color: oklch(54.8% 0.215 277.2);
Tailwind
colors: {
  custom: {
    50: '#9787f2',
    500: '#5957ea',
    950: '#000000',
  },
}
SCSS
$custom: #5957ea;
$custom-light: #9787f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5957ea",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 240.816,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.21524,
    "h": 277.2
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#5957EA
secondary
#E8E9B4
accent
#DA0BD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5957EA

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

Preview Lab → · Contrast checker → · Palette generator →

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