#5748D6#5748D6

#5748D6 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.208 H 280.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5748D6
RGBrgb(87, 72, 214)
HSLhsl(246, 63%, 56%)
HSVhsv(246, 66%, 84%)
CMYKcmyk(59.3%, 66.4%, 0%, 16.1%)
CIE-LABlab(40.43, 45.90, -70.98)
CIE-LCHlch(40.43, 84.53, 302.89°)
OKLaboklab(50.6% 0.0387 -0.2044)
OKLCHoklch(50.6% 0.208 280.7)
XYZxyz(18.3816, 11.5147, 64.8592)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748D6 #C7D648
analogous
#4880D6 #5748D6 #9E48D6
triadic
#5748D6 #D65748 #48D657
tetradic
#5748D6 #D64880 #C7D648 #48D69E
square
#5748D6 #D64880 #C7D648 #48D69E
split-complementary
#5748D6 #D69E48 #80D648
monochromatic
#291E86 #3829B8 #5748D6 #857AE1 #B3ACEC

Accessibility & contrast

On white

6.36
#5748D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5748D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748D6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748D6#FFFFFF#000000##FFFFFF
##5748D61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005AD3
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5748d6;
/* rgb */ color: rgb(87, 72, 214);
/* oklch */ color: oklch(50.6% 0.208 280.7);
Tailwind
colors: {
  custom: {
    50: '#937ce4',
    500: '#5748d6',
    950: '#000000',
  },
}
SCSS
$custom: #5748d6;
$custom-light: #937ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5748d6",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 246.338,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.20803,
    "h": 280.7
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#5748D6
secondary
#D4DAA0
accent
#E641D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5748D6

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

Preview Lab → · Contrast checker → · Palette generator →

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