#5748E7#5748E7

#5748E7 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.1% C 0.229 H 279.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5748E7
RGBrgb(87, 72, 231)
HSLhsl(246, 77%, 59%)
HSVhsv(246, 69%, 91%)
CMYKcmyk(62.3%, 68.8%, 0%, 9.4%)
CIE-LABlab(41.89, 51.14, -78.30)
CIE-LCHlch(41.89, 93.52, 303.15°)
OKLaboklab(52.09% 0.0362 -0.2258)
OKLCHoklch(52.09% 0.229 279.1)
XYZxyz(20.6670, 12.4289, 76.8957)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748E7 #D8E748
analogous
#4889E7 #5748E7 #A648E7
triadic
#5748E7 #E75748 #48E757
tetradic
#5748E7 #E74889 #D8E748 #48E7A6
square
#5748E7 #E74889 #D8E748 #48E7A6
split-complementary
#5748E7 #E7A648 #89E748
monochromatic
#2215A0 #2E1CD6 #5748E7 #897EEE #BAB4F5

Accessibility & contrast

On white

6.02
#5748E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5748E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748E7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748E7#FFFFFF#000000##FFFFFF
##5748E71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005CE4
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5748e7;
/* rgb */ color: rgb(87, 72, 231);
/* oklch */ color: oklch(52.1% 0.229 279.1);
Tailwind
colors: {
  custom: {
    50: '#967df0',
    500: '#5748e7',
    950: '#000000',
  },
}
SCSS
$custom: #5748e7;
$custom-light: #967df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5748e7",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 245.66,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.22873,
    "h": 279.1
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#5748E7
secondary
#DFE4A6
accent
#F334E1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5748E7

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

Preview Lab → · Contrast checker → · Palette generator →

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