#5748DC#5748DC

#5748DC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.215 H 280.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5748DC
RGBrgb(87, 72, 220)
HSLhsl(246, 68%, 57%)
HSVhsv(246, 67%, 86%)
CMYKcmyk(60.5%, 67.3%, 0%, 13.7%)
CIE-LABlab(40.94, 47.75, -73.59)
CIE-LCHlch(40.94, 87.73, 302.98°)
OKLaboklab(51.12% 0.0379 -0.2121)
OKLCHoklch(51.12% 0.215 280.1)
XYZxyz(19.1620, 11.8269, 68.9693)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748DC #CDDC48
analogous
#4883DC #5748DC #A148DC
triadic
#5748DC #DC5748 #48DC57
tetradic
#5748DC #DC4883 #CDDC48 #48DCA1
square
#5748DC #DC4883 #CDDC48 #48DCA1
split-complementary
#5748DC #DCA148 #83DC48
monochromatic
#271B8E #3525C2 #5748DC #867BE6 #B5AFF0

Accessibility & contrast

On white

6.24
#5748DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5748DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748DC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748DC#FFFFFF#000000##FFFFFF
##5748DC1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5748dc;
/* rgb */ color: rgb(87, 72, 220);
/* oklch */ color: oklch(51.1% 0.215 280.1);
Tailwind
colors: {
  custom: {
    50: '#947ce8',
    500: '#5748dc',
    950: '#000000',
  },
}
SCSS
$custom: #5748dc;
$custom-light: #947ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5748dc",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 246.081,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.21541,
    "h": 280.1
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#5748DC
secondary
#D8DEA2
accent
#EB3DD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5748DC

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

Preview Lab → · Contrast checker → · Palette generator →

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