#5749BD#5749BD

#5749BD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.7% C 0.175 H 283.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5749BD
RGBrgb(87, 73, 189)
HSLhsl(247, 47%, 51%)
HSVhsv(247, 61%, 74%)
CMYKcmyk(54%, 61.4%, 0%, 25.9%)
CIE-LABlab(38.66, 37.53, -59.37)
CIE-LCHlch(38.66, 70.23, 302.30°)
OKLaboklab(48.69% 0.0401 -0.1703)
OKLCHoklch(48.69% 0.175 283.2)
XYZxyz(15.4955, 10.4646, 49.3376)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749BD #AFBD49
analogous
#4975BD #5749BD #9149BD
triadic
#5749BD #BD5749 #49BD57
tetradic
#5749BD #BD4975 #AFBD49 #49BD91
square
#5749BD #BD4975 #AFBD49 #49BD91
split-complementary
#5749BD #BD9149 #75BD49
monochromatic
#2D2566 #413593 #5749BD #8076CD #AAA3DE

Accessibility & contrast

On white

6.79
#5749BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5749BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749BD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749BD#FFFFFF#000000##FFFFFF
##5749BD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#2A657C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5749bd;
/* rgb */ color: rgb(87, 73, 189);
/* oklch */ color: oklch(48.7% 0.175 283.2);
Tailwind
colors: {
  custom: {
    50: '#8f7cd2',
    500: '#5749bd',
    950: '#000000',
  },
}
SCSS
$custom: #5749bd;
$custom-light: #8f7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5749bd",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 247.241,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.17496,
    "h": 283.2
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#5749BD
secondary
#C4CA97
accent
#D651C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5749BD

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

Preview Lab → · Contrast checker → · Palette generator →

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