#5957CE#5957CE

#5957CE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.179 H 279.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5957CE
RGBrgb(89, 87, 206)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 58%, 81%)
CMYKcmyk(56.8%, 57.8%, 0%, 19.2%)
CIE-LABlab(43.35, 34.79, -61.62)
CIE-LCHlch(43.35, 70.77, 299.45°)
OKLaboklab(52.57% 0.0281 -0.1768)
OKLCHoklch(52.57% 0.179 279)
XYZxyz(18.6651, 13.3952, 59.9825)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957CE #CCCE57
analogous
#5791CE #5957CE #9457CE
triadic
#5957CE #CE5957 #57CE59
tetradic
#5957CE #CE5791 #CCCE57 #57CE94
square
#5957CE #CE5791 #CCCE57 #57CE94
split-complementary
#5957CE #CE9457 #91CE57
monochromatic
#282784 #3634B3 #5957CE #8886DC #B7B6EA

Accessibility & contrast

On white

5.71
#5957CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5957CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957CE#FFFFFF#000000##FFFFFF
##5957CE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#16738A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5957ce;
/* rgb */ color: rgb(89, 87, 206);
/* oklch */ color: oklch(52.6% 0.179 279.0);
Tailwind
colors: {
  custom: {
    50: '#9286de',
    500: '#5957ce',
    950: '#000000',
  },
}
SCSS
$custom: #5957ce;
$custom-light: #9286de;
$custom-dark: #000000;
JSON
{
  "hex": "#5957ce",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 241.008,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.17901,
    "h": 279
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#5957CE
secondary
#D8D8A8
accent
#DE4ADC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957CE

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

Preview Lab → · Contrast checker → · Palette generator →

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