#5957EE#5957EE

#5957EE is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.220 H 276.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5957EE
RGBrgb(89, 87, 238)
HSLhsl(241, 82%, 64%)
HSVhsv(241, 63%, 93%)
CMYKcmyk(62.6%, 63.4%, 0%, 6.7%)
CIE-LABlab(45.79, 45.06, -75.86)
CIE-LCHlch(45.79, 88.23, 300.71°)
OKLaboklab(55.12% 0.0266 -0.2186)
OKLCHoklch(55.12% 0.22 276.9)
XYZxyz(22.9556, 15.1114, 82.5794)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957EE #ECEE57
analogous
#57A0EE #5957EE #A457EE
triadic
#5957EE #EE5957 #57EE59
tetradic
#5957EE #EE57A0 #ECEE57 #57EEA4
square
#5957EE #EE57A0 #ECEE57 #57EEA4
split-complementary
#5957EE #EEA457 #A0EE57
monochromatic
#1513B8 #221FE8 #5957EE #908FF4 #C7C6F9

Accessibility & contrast

On white

5.22
#5957EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5957EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957EE#FFFFFF#000000##FFFFFF
##5957EE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5957ee;
/* rgb */ color: rgb(89, 87, 238);
/* oklch */ color: oklch(55.1% 0.220 276.9);
Tailwind
colors: {
  custom: {
    50: '#9787f5',
    500: '#5957ee',
    950: '#000000',
  },
}
SCSS
$custom: #5957ee;
$custom-light: #9787f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5957ee",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 240.795,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.22025,
    "h": 276.9
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#5957EE
secondary
#EAEBB6
accent
#DE08DB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5957EE

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

Preview Lab → · Contrast checker → · Palette generator →

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