#5748C7#5748C7

#5748C7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.3% C 0.189 H 282.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5748C7
RGBrgb(87, 72, 199)
HSLhsl(247, 53%, 53%)
HSVhsv(247, 64%, 78%)
CMYKcmyk(56.3%, 63.8%, 0%, 22%)
CIE-LABlab(39.21, 41.24, -64.31)
CIE-LCHlch(39.21, 76.39, 302.67°)
OKLaboklab(49.33% 0.0403 -0.1848)
OKLCHoklch(49.33% 0.189 282.3)
XYZxyz(16.5535, 10.7834, 55.2309)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748C7 #B8C748
analogous
#4878C7 #5748C7 #9748C7
triadic
#5748C7 #C75748 #48C757
tetradic
#5748C7 #C74878 #B8C748 #48C797
square
#5748C7 #C74878 #B8C748 #48C797
split-complementary
#5748C7 #C79748 #78C748
monochromatic
#2C2372 #3E31A1 #5748C7 #8277D5 #ADA6E4

Accessibility & contrast

On white

6.65
#5748C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5748C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748C7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748C7#FFFFFF#000000##FFFFFF
##5748C71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#1D6881
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5748c7;
/* rgb */ color: rgb(87, 72, 199);
/* oklch */ color: oklch(49.3% 0.189 282.3);
Tailwind
colors: {
  custom: {
    50: '#917cd9',
    500: '#5748c7',
    950: '#000000',
  },
}
SCSS
$custom: #5748c7;
$custom-light: #917cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5748c7",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 247.087,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.18916,
    "h": 282.3
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#5748C7
secondary
#CAD19A
accent
#DD4BCB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5748C7

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

Preview Lab → · Contrast checker → · Palette generator →

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