#5957E3#5957E3

#5957E3 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.206 H 277.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5957E3
RGBrgb(89, 87, 227)
HSLhsl(241, 71%, 62%)
HSVhsv(241, 62%, 89%)
CMYKcmyk(60.8%, 61.7%, 0%, 11%)
CIE-LABlab(44.92, 41.54, -71.07)
CIE-LCHlch(44.92, 82.31, 300.31°)
OKLaboklab(54.22% 0.0274 -0.2045)
OKLCHoklch(54.22% 0.206 277.6)
XYZxyz(21.3887, 14.4846, 74.3269)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957E3 #E1E357
analogous
#579BE3 #5957E3 #9F57E3
triadic
#5957E3 #E35957 #57E359
tetradic
#5957E3 #E3579B #E1E357 #57E39F
square
#5957E3 #E3579B #E1E357 #57E39F
split-complementary
#5957E3 #E39F57 #9BE357
monochromatic
#1D1BA4 #2724D9 #5957E3 #8D8BEC #C1C0F4

Accessibility & contrast

On white

5.39
#5957E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5957E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957E3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957E3#FFFFFF#000000##FFFFFF
##5957E31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5957e3;
/* rgb */ color: rgb(89, 87, 227);
/* oklch */ color: oklch(54.2% 0.206 277.6);
Tailwind
colors: {
  custom: {
    50: '#9587ed',
    500: '#5957e3',
    950: '#000000',
  },
}
SCSS
$custom: #5957e3;
$custom-light: #9587ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5957e3",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 240.857,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.20638,
    "h": 277.6
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#5957E3
secondary
#E4E5B1
accent
#D312D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5957E3

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

Preview Lab → · Contrast checker → · Palette generator →

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