#5748CA#5748CA

#5748CA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.6% C 0.193 H 282.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5748CA
RGBrgb(87, 72, 202)
HSLhsl(247, 55%, 54%)
HSVhsv(247, 64%, 79%)
CMYKcmyk(56.9%, 64.4%, 0%, 20.8%)
CIE-LABlab(39.45, 42.17, -65.66)
CIE-LCHlch(39.45, 78.04, 302.71°)
OKLaboklab(49.58% 0.04 -0.1888)
OKLCHoklch(49.58% 0.193 282)
XYZxyz(16.9052, 10.9241, 57.0834)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748CA #BBCA48
analogous
#487ACA #5748CA #9848CA
triadic
#5748CA #CA5748 #48CA57
tetradic
#5748CA #CA487A #BBCA48 #48CA98
square
#5748CA #CA487A #BBCA48 #48CA98
split-complementary
#5748CA #CA9848 #7ACA48
monochromatic
#2C2276 #3D30A5 #5748CA #8377D8 #AEA7E5

Accessibility & contrast

On white

6.59
#5748CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5748CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748CA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748CA#FFFFFF#000000##FFFFFF
##5748CA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#186982
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5748ca;
/* rgb */ color: rgb(87, 72, 202);
/* oklch */ color: oklch(49.6% 0.193 282.0);
Tailwind
colors: {
  custom: {
    50: '#917cdb',
    500: '#5748ca',
    950: '#000000',
  },
}
SCSS
$custom: #5748ca;
$custom-light: #917cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5748ca",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 246.923,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.19299,
    "h": 282
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

primary
#5748CA
secondary
#CCD39B
accent
#DE49CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5748CA

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

Preview Lab → · Contrast checker → · Palette generator →

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