#5749D2#5749D2

#5749D2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.202 H 280.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5749D2
RGBrgb(87, 73, 210)
HSLhsl(246, 60%, 55%)
HSVhsv(246, 65%, 82%)
CMYKcmyk(58.6%, 65.2%, 0%, 17.6%)
CIE-LABlab(40.32, 44.08, -68.87)
CIE-LCHlch(40.32, 81.77, 302.62°)
OKLaboklab(50.41% 0.0383 -0.1982)
OKLCHoklch(50.41% 0.202 280.9)
XYZxyz(17.9422, 11.4432, 62.2236)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749D2 #C4D249
analogous
#4980D2 #5749D2 #9B49D2
triadic
#5749D2 #D25749 #49D257
tetradic
#5749D2 #D24980 #C4D249 #49D29B
square
#5749D2 #D24980 #C4D249 #49D29B
split-complementary
#5749D2 #D29B49 #80D249
monochromatic
#2A2081 #3A2CB2 #5749D2 #847ADE #B2ABEA

Accessibility & contrast

On white

6.39
#5749D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5749D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749D2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749D2#FFFFFF#000000##FFFFFF
##5749D21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5749d2;
/* rgb */ color: rgb(87, 73, 210);
/* oklch */ color: oklch(50.4% 0.202 280.9);
Tailwind
colors: {
  custom: {
    50: '#937de1',
    500: '#5749d2',
    950: '#000000',
  },
}
SCSS
$custom: #5749d2;
$custom-light: #937de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5749d2",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 246.131,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.20189,
    "h": 280.9
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#5749D2
secondary
#D2D89F
accent
#E344D3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5749D2

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

Preview Lab → · Contrast checker → · Palette generator →

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