#5957DE#5957DE

#5957DE is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.8% C 0.200 H 278.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5957DE
RGBrgb(89, 87, 222)
HSLhsl(241, 67%, 61%)
HSVhsv(241, 61%, 87%)
CMYKcmyk(59.9%, 60.8%, 0%, 12.9%)
CIE-LABlab(44.54, 39.93, -68.85)
CIE-LCHlch(44.54, 79.59, 300.11°)
OKLaboklab(53.82% 0.0277 -0.198)
OKLCHoklch(53.82% 0.2 278)
XYZxyz(20.7086, 14.2126, 70.7451)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957DE #DCDE57
analogous
#5798DE #5957DE #9C57DE
triadic
#5957DE #DE5957 #57DE59
tetradic
#5957DE #DE5798 #DCDE57 #57DE9C
square
#5957DE #DE5798 #DCDE57 #57DE9C
split-complementary
#5957DE #DE9C57 #98DE57
monochromatic
#201F9C #2B29CF #5957DE #8C8AE8 #BEBDF2

Accessibility & contrast

On white

5.46
#5957DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5957DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957DE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957DE#FFFFFF#000000##FFFFFF
##5957DE1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5957de;
/* rgb */ color: rgb(89, 87, 222);
/* oklch */ color: oklch(53.8% 0.200 278.0);
Tailwind
colors: {
  custom: {
    50: '#9587e9',
    500: '#5957de',
    950: '#000000',
  },
}
SCSS
$custom: #5957de;
$custom-light: #9587e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5957de",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 240.889,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.19997,
    "h": 278
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#5957DE
secondary
#E1E2AF
accent
#CF16CC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5957DE

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

Preview Lab → · Contrast checker → · Palette generator →

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