#5746D2#5746D2

#5746D2 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.205 H 281.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5746D2
RGBrgb(87, 70, 210)
HSLhsl(247, 61%, 55%)
HSVhsv(247, 67%, 82%)
CMYKcmyk(58.6%, 66.7%, 0%, 17.6%)
CIE-LABlab(39.68, 45.80, -69.91)
CIE-LCHlch(39.68, 83.58, 303.23°)
OKLaboklab(49.95% 0.0408 -0.2013)
OKLCHoklch(49.95% 0.205 281.5)
XYZxyz(17.7499, 11.0585, 62.1594)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746D2 #C1D246
analogous
#467BD2 #5746D2 #9D46D2
triadic
#5746D2 #D25746 #46D257
tetradic
#5746D2 #D2467B #C1D246 #46D29D
square
#5746D2 #D2467B #C1D246 #46D29D
split-complementary
#5746D2 #D29D46 #7BD246
monochromatic
#2A1F7F #3B2BB0 #5746D2 #8477DE #B0A8EA

Accessibility & contrast

On white

6.54
#5746D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5746D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746D2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746D2#FFFFFF#000000##FFFFFF
##5746D21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5746d2;
/* rgb */ color: rgb(87, 70, 210);
/* oklch */ color: oklch(49.9% 0.205 281.5);
Tailwind
colors: {
  custom: {
    50: '#937be1',
    500: '#5746d2',
    950: '#000000',
  },
}
SCSS
$custom: #5746d2;
$custom-light: #937be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5746d2",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 247.286,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.20538,
    "h": 281.5
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#5746D2
secondary
#D0D79C
accent
#E444D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5746D2

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

Preview Lab → · Contrast checker → · Palette generator →

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