#5746D1#5746D1

#5746D1 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.204 H 281.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5746D1
RGBrgb(87, 70, 209)
HSLhsl(247, 60%, 55%)
HSVhsv(247, 67%, 82%)
CMYKcmyk(58.4%, 66.5%, 0%, 18%)
CIE-LABlab(39.60, 45.49, -69.47)
CIE-LCHlch(39.60, 83.04, 303.22°)
OKLaboklab(49.86% 0.041 -0.2)
OKLCHoklch(49.86% 0.204 281.6)
XYZxyz(17.6257, 11.0088, 61.5054)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746D1 #C0D146
analogous
#467BD1 #5746D1 #9C46D1
triadic
#5746D1 #D15746 #46D157
tetradic
#5746D1 #D1467B #C0D146 #46D19C
square
#5746D1 #D1467B #C0D146 #46D19C
split-complementary
#5746D1 #D19C46 #7BD146
monochromatic
#2B1F7D #3B2BAE #5746D1 #8477DD #B0A8E9

Accessibility & contrast

On white

6.56
#5746D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5746D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746D1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746D1#FFFFFF#000000##FFFFFF
##5746D11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0058CE
Tritanopia (blue-blind)
#036A86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5746d1;
/* rgb */ color: rgb(87, 70, 209);
/* oklch */ color: oklch(49.9% 0.204 281.6);
Tailwind
colors: {
  custom: {
    50: '#937be0',
    500: '#5746d1',
    950: '#000000',
  },
}
SCSS
$custom: #5746d1;
$custom-light: #937be0;
$custom-dark: #000000;
JSON
{
  "hex": "#5746d1",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 247.338,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.4986,
    "c": 0.20414,
    "h": 281.6
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5746D1

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

Preview Lab → · Contrast checker → · Palette generator →

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