#5759BD#5759BD

#5759BD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.154 H 278.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5759BD
RGBrgb(87, 89, 189)
HSLhsl(239, 44%, 54%)
HSVhsv(239, 54%, 74%)
CMYKcmyk(54%, 52.9%, 0%, 25.9%)
CIE-LABlab(42.53, 27.69, -53.12)
CIE-LCHlch(42.53, 59.90, 297.53°)
OKLaboklab(51.55% 0.0232 -0.1518)
OKLCHoklch(51.55% 0.154 278.7)
XYZxyz(16.6853, 12.8441, 49.7342)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759BD #BDBB57
analogous
#578CBD #5759BD #8857BD
triadic
#5759BD #BD5759 #59BD57
tetradic
#5759BD #BD578C #BDBB57 #57BD88
square
#5759BD #BD578C #BDBB57 #57BD88
split-complementary
#5759BD #BD8857 #8CBD57
monochromatic
#2B2D6E #3D3E9A #5759BD #8384CE #AFB0E0

Accessibility & contrast

On white

5.88
#5759BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5759BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759BD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759BD#FFFFFF#000000##FFFFFF
##5759BD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C0
Deuteranopia (green-blind)
#1060BB
Tritanopia (blue-blind)
#287082
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5759bd;
/* rgb */ color: rgb(87, 89, 189);
/* oklch */ color: oklch(51.5% 0.154 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e88d1',
    500: '#5759bd',
    950: '#000000',
  },
}
SCSS
$custom: #5759bd;
$custom-light: #8e88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5759bd",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 238.824,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.15357,
    "h": 278.7
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#5759BD
secondary
#CECDA2
accent
#D154D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5759BD

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

Preview Lab → · Contrast checker → · Palette generator →

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