#5748D4#5748D4

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

Color values

HEX#5748D4
RGBrgb(87, 72, 212)
HSLhsl(246, 62%, 56%)
HSVhsv(246, 66%, 83%)
CMYKcmyk(59%, 66%, 0%, 16.9%)
CIE-LABlab(40.27, 45.28, -70.10)
CIE-LCHlch(40.27, 83.45, 302.86°)
OKLaboklab(50.42% 0.0389 -0.2018)
OKLCHoklch(50.42% 0.206 280.9)
XYZxyz(18.1278, 11.4132, 63.5223)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748D4 #C5D448
analogous
#487FD4 #5748D4 #9D48D4
triadic
#5748D4 #D45748 #48D457
tetradic
#5748D4 #D4487F #C5D448 #48D49D
square
#5748D4 #D4487F #C5D448 #48D49D
split-complementary
#5748D4 #D49D48 #7FD448
monochromatic
#291F83 #392AB4 #5748D4 #847AE0 #B2ABEB

Accessibility & contrast

On white

6.40
#5748D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5748D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748D4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748D4#FFFFFF#000000##FFFFFF
##5748D41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5748d4;
/* rgb */ color: rgb(87, 72, 212);
/* oklch */ color: oklch(50.4% 0.206 280.9);
Tailwind
colors: {
  custom: {
    50: '#937ce2',
    500: '#5748d4',
    950: '#000000',
  },
}
SCSS
$custom: #5748d4;
$custom-light: #937ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#5748d4",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 246.429,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.20555,
    "h": 280.9
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#5748D4
secondary
#D3D99F
accent
#E543D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5748D4

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

Preview Lab → · Contrast checker → · Palette generator →

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