#5749AB#5749AB

#5749AB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.151 H 285.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5749AB
RGBrgb(87, 73, 171)
HSLhsl(249, 40%, 48%)
HSVhsv(249, 57%, 67%)
CMYKcmyk(49.1%, 57.3%, 0%, 32.9%)
CIE-LABlab(37.36, 31.93, -50.86)
CIE-LCHlch(37.36, 60.06, 302.12°)
OKLaboklab(47.31% 0.0406 -0.1453)
OKLCHoklch(47.31% 0.151 285.6)
XYZxyz(13.6615, 9.7310, 39.6786)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749AB #9DAB49
analogous
#496CAB #5749AB #8849AB
triadic
#5749AB #AB5749 #49AB57
tetradic
#5749AB #AB496C #9DAB49 #49AB88
square
#5749AB #AB496C #9DAB49 #49AB88
split-complementary
#5749AB #AB8849 #6CAB49
monochromatic
#2B2455 #413780 #5749AB #7B6FC2 #A39AD4

Accessibility & contrast

On white

7.13
#5749AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5749AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5749AB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749AB#FFFFFF#000000##FFFFFF
##5749AB1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#3A5F73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5749ab;
/* rgb */ color: rgb(87, 73, 171);
/* oklch */ color: oklch(47.3% 0.151 285.6);
Tailwind
colors: {
  custom: {
    50: '#8d7cc5',
    500: '#5749ab',
    950: '#000000',
  },
}
SCSS
$custom: #5749ab;
$custom-light: #8d7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5749ab",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 248.571,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.15085,
    "h": 285.6
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#5749AB
secondary
#B9C08F
accent
#D058BF
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5749AB

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

Preview Lab → · Contrast checker → · Palette generator →

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