#5957BA#5957BA

#5957BA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.152 H 280.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5957BA
RGBrgb(89, 87, 186)
HSLhsl(241, 42%, 54%)
HSVhsv(241, 53%, 73%)
CMYKcmyk(52.2%, 53.2%, 0%, 27.1%)
CIE-LABlab(41.98, 28.40, -52.25)
CIE-LCHlch(41.98, 59.46, 298.52°)
OKLaboklab(51.11% 0.0276 -0.1492)
OKLCHoklch(51.11% 0.152 280.5)
XYZxyz(16.3882, 12.4845, 47.9910)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957BA #B8BA57
analogous
#5786BA #5957BA #8A57BA
triadic
#5957BA #BA5957 #57BA59
tetradic
#5957BA #BA5786 #B8BA57 #57BA8A
square
#5957BA #BA5786 #B8BA57 #57BA8A
split-complementary
#5957BA #BA8A57 #86BA57
monochromatic
#2D2C6B #3F3E96 #5957BA #8482CC #AFAEDE

Accessibility & contrast

On white

6.01
#5957BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5957BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957BA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957BA#FFFFFF#000000##FFFFFF
##5957BA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BD
Deuteranopia (green-blind)
#145FB8
Tritanopia (blue-blind)
#316D80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5957ba;
/* rgb */ color: rgb(89, 87, 186);
/* oklch */ color: oklch(51.1% 0.152 280.5);
Tailwind
colors: {
  custom: {
    50: '#8f86cf',
    500: '#5957ba',
    950: '#000000',
  },
}
SCSS
$custom: #5957ba;
$custom-light: #8f86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5957ba",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 241.212,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.15176,
    "h": 280.5
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#5957BA
secondary
#CBCCA1
accent
#D256CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5957BA

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

Preview Lab → · Contrast checker → · Palette generator →

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