#5749C8#5749C8

#5749C8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.189 H 282.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5749C8
RGBrgb(87, 73, 200)
HSLhsl(247, 54%, 54%)
HSVhsv(247, 64%, 78%)
CMYKcmyk(56.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(39.51, 40.96, -64.40)
CIE-LCHlch(39.51, 76.32, 302.46°)
OKLaboklab(49.57% 0.0393 -0.1851)
OKLCHoklch(49.57% 0.189 282)
XYZxyz(16.7351, 10.9604, 55.8661)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749C8 #BAC849
analogous
#497AC8 #5749C8 #9649C8
triadic
#5749C8 #C85749 #49C857
tetradic
#5749C8 #C8497A #BAC849 #49C896
square
#5749C8 #C8497A #BAC849 #49C896
split-complementary
#5749C8 #C89649 #7AC849
monochromatic
#2C2374 #3E31A3 #5749C8 #8278D6 #AEA7E4

Accessibility & contrast

On white

6.58
#5749C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5749C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749C8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749C8#FFFFFF#000000##FFFFFF
##5749C81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#1C6882
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5749c8;
/* rgb */ color: rgb(87, 73, 200);
/* oklch */ color: oklch(49.6% 0.189 282.0);
Tailwind
colors: {
  custom: {
    50: '#917dda',
    500: '#5749c8',
    950: '#000000',
  },
}
SCSS
$custom: #5749c8;
$custom-light: #917dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5749c8",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 246.614,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.18921,
    "h": 282
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#5749C8
secondary
#CCD29B
accent
#DD4BCD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5749C8

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

Preview Lab → · Contrast checker → · Palette generator →

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