#5748BC#5748BC

#5748BC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.175 H 283.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5748BC
RGBrgb(87, 72, 188)
HSLhsl(248, 46%, 51%)
HSVhsv(248, 62%, 74%)
CMYKcmyk(53.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(38.36, 37.81, -59.28)
CIE-LCHlch(38.36, 70.31, 302.54°)
OKLaboklab(48.44% 0.0412 -0.17)
OKLCHoklch(48.44% 0.175 283.6)
XYZxyz(15.3222, 10.2909, 48.7462)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748BC #ADBC48
analogous
#4873BC #5748BC #9148BC
triadic
#5748BC #BC5748 #48BC57
tetradic
#5748BC #BC4873 #ADBC48 #48BC91
square
#5748BC #BC4873 #ADBC48 #48BC91
split-complementary
#5748BC #BC9148 #73BC48
monochromatic
#2D2565 #413592 #5748BC #8075CC #A9A2DD

Accessibility & contrast

On white

6.87
#5748BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5748BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748BC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748BC#FFFFFF#000000##FFFFFF
##5748BC1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#2C647B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5748bc;
/* rgb */ color: rgb(87, 72, 188);
/* oklch */ color: oklch(48.4% 0.175 283.6);
Tailwind
colors: {
  custom: {
    50: '#8f7cd1',
    500: '#5748bc',
    950: '#000000',
  },
}
SCSS
$custom: #5748bc;
$custom-light: #8f7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5748bc",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 247.759,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.17495,
    "h": 283.6
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#5748BC
secondary
#C3CA96
accent
#D652C5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5748BC

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

Preview Lab → · Contrast checker → · Palette generator →

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