#5748CC#5748CC

#5748CC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.7% C 0.196 H 281.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5748CC
RGBrgb(87, 72, 204)
HSLhsl(247, 56%, 54%)
HSVhsv(247, 65%, 80%)
CMYKcmyk(57.4%, 64.7%, 0%, 20%)
CIE-LABlab(39.61, 42.79, -66.56)
CIE-LCHlch(39.61, 79.12, 302.74°)
OKLaboklab(49.75% 0.0398 -0.1914)
OKLCHoklch(49.75% 0.196 281.8)
XYZxyz(17.1435, 11.0195, 58.3386)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748CC #BDCC48
analogous
#487BCC #5748CC #9948CC
triadic
#5748CC #CC5748 #48CC57
tetradic
#5748CC #CC487B #BDCC48 #48CC99
square
#5748CC #CC487B #BDCC48 #48CC99
split-complementary
#5748CC #CC9948 #7BCC48
monochromatic
#2B2178 #3D2FA8 #5748CC #8378D9 #AFA8E7

Accessibility & contrast

On white

6.55
#5748CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5748CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748CC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748CC#FFFFFF#000000##FFFFFF
##5748CC1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#136983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5748cc;
/* rgb */ color: rgb(87, 72, 204);
/* oklch */ color: oklch(49.7% 0.196 281.8);
Tailwind
colors: {
  custom: {
    50: '#927cdd',
    500: '#5748cc',
    950: '#000000',
  },
}
SCSS
$custom: #5748cc;
$custom-light: #927cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5748cc",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 246.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.19553,
    "h": 281.8
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#5748CC
secondary
#CED49C
accent
#E048CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5748CC

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

Preview Lab → · Contrast checker → · Palette generator →

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