#5748D0#5748D0

#5748D0 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.201 H 281.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5748D0
RGBrgb(87, 72, 208)
HSLhsl(247, 59%, 55%)
HSVhsv(247, 65%, 82%)
CMYKcmyk(58.2%, 65.4%, 0%, 18.4%)
CIE-LABlab(39.94, 44.03, -68.34)
CIE-LCHlch(39.94, 81.30, 302.80°)
OKLaboklab(50.08% 0.0394 -0.1966)
OKLCHoklch(50.08% 0.201 281.3)
XYZxyz(17.6295, 11.2138, 60.8978)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748D0 #C1D048
analogous
#487DD0 #5748D0 #9B48D0
triadic
#5748D0 #D05748 #48D057
tetradic
#5748D0 #D0487D #C1D048 #48D09B
square
#5748D0 #D0487D #C1D048 #48D09B
split-complementary
#5748D0 #D09B48 #7DD048
monochromatic
#2A207D #3B2DAE #5748D0 #8479DD #B0A9E9

Accessibility & contrast

On white

6.48
#5748D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5748D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748D0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748D0#FFFFFF#000000##FFFFFF
##5748D01.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#066B86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5748d0;
/* rgb */ color: rgb(87, 72, 208);
/* oklch */ color: oklch(50.1% 0.201 281.3);
Tailwind
colors: {
  custom: {
    50: '#927cdf',
    500: '#5748d0',
    950: '#000000',
  },
}
SCSS
$custom: #5748d0;
$custom-light: #927cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5748d0",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 246.618,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.20055,
    "h": 281.3
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#5748D0
secondary
#D0D79D
accent
#E245D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5748D0

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

Preview Lab → · Contrast checker → · Palette generator →

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