#5749DC#5749DC

#5749DC is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.214 H 280.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5749DC
RGBrgb(87, 73, 220)
HSLhsl(246, 68%, 57%)
HSVhsv(246, 67%, 86%)
CMYKcmyk(60.5%, 66.8%, 0%, 13.7%)
CIE-LABlab(41.15, 47.19, -73.25)
CIE-LCHlch(41.15, 87.13, 302.79°)
OKLaboklab(51.27% 0.0371 -0.2111)
OKLCHoklch(51.27% 0.214 280)
XYZxyz(19.2272, 11.9572, 68.9910)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749DC #CEDC49
analogous
#4985DC #5749DC #A049DC
triadic
#5749DC #DC5749 #49DC57
tetradic
#5749DC #DC4985 #CEDC49 #49DCA0
square
#5749DC #DC4985 #CEDC49 #49DCA0
split-complementary
#5749DC #DCA049 #85DC49
monochromatic
#271C8F #3425C2 #5749DC #867CE6 #B6B0F0

Accessibility & contrast

On white

6.19
#5749DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5749DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749DC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749DC#FFFFFF#000000##FFFFFF
##5749DC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5749dc;
/* rgb */ color: rgb(87, 73, 220);
/* oklch */ color: oklch(51.3% 0.214 280.0);
Tailwind
colors: {
  custom: {
    50: '#947de8',
    500: '#5749dc',
    950: '#000000',
  },
}
SCSS
$custom: #5749dc;
$custom-light: #947de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5749dc",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 245.714,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.21429,
    "h": 280
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#5749DC
secondary
#D8DEA3
accent
#EB3DDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5749DC

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

Preview Lab → · Contrast checker → · Palette generator →

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