#5957BD#5957BD

#5957BD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.156 H 280.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5957BD
RGBrgb(89, 87, 189)
HSLhsl(241, 44%, 54%)
HSVhsv(241, 54%, 74%)
CMYKcmyk(52.9%, 54%, 0%, 25.9%)
CIE-LABlab(42.17, 29.35, -53.68)
CIE-LCHlch(42.17, 61.18, 298.67°)
OKLaboklab(51.33% 0.0278 -0.1534)
OKLCHoklch(51.33% 0.156 280.3)
XYZxyz(16.7105, 12.6134, 49.6883)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957BD #BBBD57
analogous
#5788BD #5957BD #8C57BD
triadic
#5957BD #BD5957 #57BD59
tetradic
#5957BD #BD5788 #BBBD57 #57BD8C
square
#5957BD #BD5788 #BBBD57 #57BD8C
split-complementary
#5957BD #BD8C57 #88BD57
monochromatic
#2D2B6E #3E3D9A #5957BD #8483CE #B0AFE0

Accessibility & contrast

On white

5.96
#5957BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5957BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957BD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957BD#FFFFFF#000000##FFFFFF
##5957BD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C1
Deuteranopia (green-blind)
#0960BB
Tritanopia (blue-blind)
#2E6E81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5957bd;
/* rgb */ color: rgb(89, 87, 189);
/* oklch */ color: oklch(51.3% 0.156 280.3);
Tailwind
colors: {
  custom: {
    50: '#8f86d1',
    500: '#5957bd',
    950: '#000000',
  },
}
SCSS
$custom: #5957bd;
$custom-light: #8f86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5957bd",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 241.176,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.15591,
    "h": 280.3
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#5957BD
secondary
#CDCEA2
accent
#D354D1
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5957BD

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

Preview Lab → · Contrast checker → · Palette generator →

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