#5957D2#5957D2

#5957D2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.184 H 278.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5957D2
RGBrgb(89, 87, 210)
HSLhsl(241, 58%, 58%)
HSVhsv(241, 59%, 82%)
CMYKcmyk(57.6%, 58.6%, 0%, 17.6%)
CIE-LABlab(43.64, 36.08, -63.45)
CIE-LCHlch(43.64, 72.99, 299.62°)
OKLaboklab(52.88% 0.0281 -0.1822)
OKLCHoklch(52.88% 0.184 278.8)
XYZxyz(19.1572, 13.5920, 62.5743)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957D2 #D0D257
analogous
#5792D2 #5957D2 #9757D2
triadic
#5957D2 #D25957 #57D259
tetradic
#5957D2 #D25792 #D0D257 #57D297
square
#5957D2 #D25792 #D0D257 #57D297
split-complementary
#5957D2 #D29757 #92D257
monochromatic
#27258A #3432BA #5957D2 #8987DF #B8B8EC

Accessibility & contrast

On white

5.65
#5957D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5957D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957D2#FFFFFF#000000##FFFFFF
##5957D21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#0A748C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5957d2;
/* rgb */ color: rgb(89, 87, 210);
/* oklch */ color: oklch(52.9% 0.184 278.8);
Tailwind
colors: {
  custom: {
    50: '#9386e1',
    500: '#5957d2',
    950: '#000000',
  },
}
SCSS
$custom: #5957d2;
$custom-light: #9386e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5957d2",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 240.976,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.18432,
    "h": 278.8
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#5957D2
secondary
#DADBAA
accent
#E147DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957D2

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

Preview Lab → · Contrast checker → · Palette generator →

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