#5748D8#5748D8

#5748D8 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.210 H 280.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5748D8
RGBrgb(87, 72, 216)
HSLhsl(246, 65%, 56%)
HSVhsv(246, 67%, 85%)
CMYKcmyk(59.7%, 66.7%, 0%, 15.3%)
CIE-LABlab(40.60, 46.52, -71.85)
CIE-LCHlch(40.60, 85.60, 302.92°)
OKLaboklab(50.77% 0.0384 -0.207)
OKLCHoklch(50.77% 0.211 280.5)
XYZxyz(18.6386, 11.6175, 66.2127)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748D8 #C9D848
analogous
#4881D8 #5748D8 #9F48D8
triadic
#5748D8 #D85748 #48D857
tetradic
#5748D8 #D84881 #C9D848 #48D89F
square
#5748D8 #D84881 #C9D848 #48D89F
split-complementary
#5748D8 #D89F48 #81D848
monochromatic
#281D89 #3728BB #5748D8 #857AE3 #B4ADEE

Accessibility & contrast

On white

6.32
#5748D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5748D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748D8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748D8#FFFFFF#000000##FFFFFF
##5748D81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5748d8;
/* rgb */ color: rgb(87, 72, 216);
/* oklch */ color: oklch(50.8% 0.210 280.5);
Tailwind
colors: {
  custom: {
    50: '#947ce5',
    500: '#5748d8',
    950: '#000000',
  },
}
SCSS
$custom: #5748d8;
$custom-light: #947ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5748d8",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 246.25,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.2105,
    "h": 280.5
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#5748D8
secondary
#D5DBA0
accent
#E840D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5748D8

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

Preview Lab → · Contrast checker → · Palette generator →

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