#5746D8#5746D8

#5746D8 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.213 H 280.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5746D8
RGBrgb(87, 70, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 68%, 85%)
CMYKcmyk(59.7%, 67.6%, 0%, 15.3%)
CIE-LABlab(40.19, 47.65, -72.54)
CIE-LCHlch(40.19, 86.79, 303.30°)
OKLaboklab(50.47% 0.04 -0.209)
OKLCHoklch(50.47% 0.213 280.8)
XYZxyz(18.5114, 11.3631, 66.1703)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746D8 #C7D846
analogous
#467ED8 #5746D8 #A046D8
triadic
#5746D8 #D85746 #46D857
tetradic
#5746D8 #D8467E #C7D846 #46D8A0
square
#5746D8 #D8467E #C7D846 #46D8A0
split-complementary
#5746D8 #D8A046 #7ED846
monochromatic
#291C87 #3827BA #5746D8 #8579E3 #B3ABED

Accessibility & contrast

On white

6.42
#5746D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5746D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746D8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746D8#FFFFFF#000000##FFFFFF
##5746D81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5746d8;
/* rgb */ color: rgb(87, 70, 216);
/* oklch */ color: oklch(50.5% 0.213 280.8);
Tailwind
colors: {
  custom: {
    50: '#947be5',
    500: '#5746d8',
    950: '#000000',
  },
}
SCSS
$custom: #5746d8;
$custom-light: #947be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5746d8",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 246.986,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.21276,
    "h": 280.8
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#5746D8
secondary
#D4DB9F
accent
#E840D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5746D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5746D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva