#5957BB#5957BB

#5957BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.153 H 280.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5957BB
RGBrgb(89, 87, 187)
HSLhsl(241, 42%, 54%)
HSVhsv(241, 53%, 73%)
CMYKcmyk(52.4%, 53.5%, 0%, 26.7%)
CIE-LABlab(42.04, 28.71, -52.72)
CIE-LCHlch(42.04, 60.04, 298.57°)
OKLaboklab(51.18% 0.0277 -0.1506)
OKLCHoklch(51.18% 0.153 280.4)
XYZxyz(16.4949, 12.5271, 48.5529)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957BB #B9BB57
analogous
#5787BB #5957BB #8B57BB
triadic
#5957BB #BB5957 #57BB59
tetradic
#5957BB #BB5787 #B9BB57 #57BB8B
square
#5957BB #BB5787 #B9BB57 #57BB8B
split-complementary
#5957BB #BB8B57 #87BB57
monochromatic
#2D2C6C #3F3D97 #5957BB #8483CD #AFAEDE

Accessibility & contrast

On white

5.99
#5957BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5957BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957BB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957BB#FFFFFF#000000##FFFFFF
##5957BB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#115FB9
Tritanopia (blue-blind)
#306D80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5957bb;
/* rgb */ color: rgb(89, 87, 187);
/* oklch */ color: oklch(51.2% 0.153 280.4);
Tailwind
colors: {
  custom: {
    50: '#8f86d0',
    500: '#5957bb',
    950: '#000000',
  },
}
SCSS
$custom: #5957bb;
$custom-light: #8f86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5957bb",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 241.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.15314,
    "h": 280.4
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#5957BB
secondary
#CBCCA2
accent
#D256D0
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5957BB

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

Preview Lab → · Contrast checker → · Palette generator →

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