#5748D2#5748D2

#5748D2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.203 H 281.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5748D2
RGBrgb(87, 72, 210)
HSLhsl(247, 61%, 55%)
HSVhsv(247, 66%, 82%)
CMYKcmyk(58.6%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.10, 44.66, -69.22)
CIE-LCHlch(40.10, 82.38, 302.83°)
OKLaboklab(50.25% 0.0392 -0.1992)
OKLCHoklch(50.25% 0.203 281.1)
XYZxyz(17.8771, 11.3129, 62.2018)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748D2 #C3D248
analogous
#487ED2 #5748D2 #9C48D2
triadic
#5748D2 #D25748 #48D257
tetradic
#5748D2 #D2487E #C3D248 #48D29C
square
#5748D2 #D2487E #C3D248 #48D29C
split-complementary
#5748D2 #D29C48 #7ED248
monochromatic
#2A2080 #3A2CB1 #5748D2 #8479DE #B1AAEA

Accessibility & contrast

On white

6.44
#5748D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5748D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748D2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748D2#FFFFFF#000000##FFFFFF
##5748D21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5748d2;
/* rgb */ color: rgb(87, 72, 210);
/* oklch */ color: oklch(50.3% 0.203 281.1);
Tailwind
colors: {
  custom: {
    50: '#937ce1',
    500: '#5748d2',
    950: '#000000',
  },
}
SCSS
$custom: #5748d2;
$custom-light: #937ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5748d2",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 246.522,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.20306,
    "h": 281.1
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#5748D2
secondary
#D1D89E
accent
#E444D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5748D2

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

Preview Lab → · Contrast checker → · Palette generator →

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