#5746C8#5746C8

#5746C8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.1% C 0.193 H 282.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5746C8
RGBrgb(87, 70, 200)
HSLhsl(248, 54%, 53%)
HSVhsv(248, 65%, 78%)
CMYKcmyk(56.5%, 65%, 0%, 21.6%)
CIE-LABlab(38.86, 42.71, -65.47)
CIE-LCHlch(38.86, 78.17, 303.12°)
OKLaboklab(49.1% 0.042 -0.1882)
OKLCHoklch(49.1% 0.193 282.6)
XYZxyz(16.5427, 10.5756, 55.8020)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746C8 #B7C846
analogous
#4676C8 #5746C8 #9846C8
triadic
#5746C8 #C85746 #46C857
tetradic
#5746C8 #C84676 #B7C846 #46C898
square
#5746C8 #C84676 #B7C846 #46C898
split-complementary
#5746C8 #C89846 #76C846
monochromatic
#2C2272 #3F30A1 #5746C8 #8275D6 #ADA4E4

Accessibility & contrast

On white

6.74
#5746C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5746C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746C8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746C8#FFFFFF#000000##FFFFFF
##5746C81.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#1C6781
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5746c8;
/* rgb */ color: rgb(87, 70, 200);
/* oklch */ color: oklch(49.1% 0.193 282.6);
Tailwind
colors: {
  custom: {
    50: '#917bda',
    500: '#5746c8',
    950: '#000000',
  },
}
SCSS
$custom: #5746c8;
$custom-light: #917bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5746c8",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 247.846,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49097,
    "c": 0.19288,
    "h": 282.6
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#5746C8
secondary
#CAD199
accent
#DE4ACA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5746C8

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

Preview Lab → · Contrast checker → · Palette generator →

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