#5748E6#5748E6

#5748E6 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.228 H 279.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5748E6
RGBrgb(87, 72, 230)
HSLhsl(246, 76%, 59%)
HSVhsv(246, 69%, 90%)
CMYKcmyk(62.2%, 68.7%, 0%, 9.8%)
CIE-LABlab(41.80, 50.83, -77.87)
CIE-LCHlch(41.80, 93.00, 303.14°)
OKLaboklab(52% 0.0364 -0.2246)
OKLCHoklch(52% 0.228 279.2)
XYZxyz(20.5262, 12.3725, 76.1540)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5748E6 #D7E648
analogous
#4888E6 #5748E6 #A648E6
triadic
#5748E6 #E65748 #48E657
tetradic
#5748E6 #E64888 #D7E648 #48E6A6
square
#5748E6 #E64888 #D7E648 #48E6A6
split-complementary
#5748E6 #E6A648 #88E648
monochromatic
#23169E #2E1DD4 #5748E6 #887EED #BAB4F5

Accessibility & contrast

On white

6.04
#5748E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5748E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5748E6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5748E6#FFFFFF#000000##FFFFFF
##5748E61.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5748e6;
/* rgb */ color: rgb(87, 72, 230);
/* oklch */ color: oklch(52.0% 0.228 279.2);
Tailwind
colors: {
  custom: {
    50: '#967def',
    500: '#5748e6',
    950: '#000000',
  },
}
SCSS
$custom: #5748e6;
$custom-light: #967def;
$custom-dark: #000000;
JSON
{
  "hex": "#5748e6",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 245.696,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.22753,
    "h": 279.2
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#5748E6
secondary
#DEE4A6
accent
#F335E1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5748E6

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

Preview Lab → · Contrast checker → · Palette generator →

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