#5957E5#5957E5

#5957E5 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.209 H 277.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5957E5
RGBrgb(89, 87, 229)
HSLhsl(241, 73%, 62%)
HSVhsv(241, 62%, 90%)
CMYKcmyk(61.1%, 62%, 0%, 10.2%)
CIE-LABlab(45.08, 42.18, -71.94)
CIE-LCHlch(45.08, 83.40, 300.38°)
OKLaboklab(54.38% 0.0273 -0.2071)
OKLCHoklch(54.38% 0.209 277.5)
XYZxyz(21.6663, 14.5957, 75.7890)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957E5 #E3E557
analogous
#579CE5 #5957E5 #A057E5
triadic
#5957E5 #E55957 #57E559
tetradic
#5957E5 #E5579C #E3E557 #57E5A0
square
#5957E5 #E5579C #E3E557 #57E5A0
split-complementary
#5957E5 #E5A057 #9CE557
monochromatic
#1C1AA8 #2522DD #5957E5 #8D8CED #C2C1F5

Accessibility & contrast

On white

5.36
#5957E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5957E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957E5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957E5#FFFFFF#000000##FFFFFF
##5957E51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5957e5;
/* rgb */ color: rgb(89, 87, 229);
/* oklch */ color: oklch(54.4% 0.209 277.5);
Tailwind
colors: {
  custom: {
    50: '#9687ee',
    500: '#5957e5',
    950: '#000000',
  },
}
SCSS
$custom: #5957e5;
$custom-light: #9687ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5957e5",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 240.845,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.20893,
    "h": 277.5
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#5957E5
secondary
#E5E6B2
accent
#D510D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5957E5

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

Preview Lab → · Contrast checker → · Palette generator →

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