#5749D5#5749D5

#5749D5 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.206 H 280.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5749D5
RGBrgb(87, 73, 213)
HSLhsl(246, 63%, 56%)
HSVhsv(246, 66%, 84%)
CMYKcmyk(59.2%, 65.7%, 0%, 16.5%)
CIE-LABlab(40.56, 45.01, -70.19)
CIE-LCHlch(40.56, 83.39, 302.67°)
OKLaboklab(50.66% 0.038 -0.2021)
OKLCHoklch(50.66% 0.206 280.6)
XYZxyz(18.3195, 11.5941, 64.2104)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749D5 #C7D549
analogous
#4981D5 #5749D5 #9D49D5
triadic
#5749D5 #D55749 #49D557
tetradic
#5749D5 #D54981 #C7D549 #49D59D
square
#5749D5 #D54981 #C7D549 #49D59D
split-complementary
#5749D5 #D59D49 #81D549
monochromatic
#291F85 #382AB7 #5749D5 #857BE0 #B3ACEC

Accessibility & contrast

On white

6.33
#5749D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5749D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749D5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749D5#FFFFFF#000000##FFFFFF
##5749D51.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5749d5;
/* rgb */ color: rgb(87, 73, 213);
/* oklch */ color: oklch(50.7% 0.206 280.6);
Tailwind
colors: {
  custom: {
    50: '#937de3',
    500: '#5749d5',
    950: '#000000',
  },
}
SCSS
$custom: #5749d5;
$custom-light: #937de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5749d5",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 246,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.20563,
    "h": 280.6
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#5749D5
secondary
#D4DAA0
accent
#E642D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5749D5

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

Preview Lab → · Contrast checker → · Palette generator →

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