#5766E4#5766E4

#5766E4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.190 H 273.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5766E4
RGBrgb(87, 102, 228)
HSLhsl(234, 72%, 62%)
HSVhsv(234, 62%, 89%)
CMYKcmyk(61.8%, 55.3%, 0%, 10.6%)
CIE-LABlab(48.42, 32.45, -65.95)
CIE-LCHlch(48.42, 73.50, 296.20°)
OKLaboklab(56.8% 0.0119 -0.1894)
OKLCHoklch(56.8% 0.19 273.6)
XYZxyz(22.6808, 17.1285, 75.4947)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766E4 #E4D557
analogous
#57ADE4 #5766E4 #8F57E4
triadic
#5766E4 #E45766 #66E457
tetradic
#5766E4 #E457AD #E4D557 #57E48F
square
#5766E4 #E457AD #E4D557 #57E48F
split-complementary
#5766E4 #E48F57 #ADE457
monochromatic
#1B29A6 #2337DB #5766E4 #8C96EC #C0C6F5

Accessibility & contrast

On white

4.74
#5766E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5766E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766E4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766E4#FFFFFF#000000##FFFFFF
##5766E41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5766e4;
/* rgb */ color: rgb(87, 102, 228);
/* oklch */ color: oklch(56.8% 0.190 273.6);
Tailwind
colors: {
  custom: {
    50: '#9491ed',
    500: '#5766e4',
    950: '#000000',
  },
}
SCSS
$custom: #5766e4;
$custom-light: #9491ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5766e4",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 233.617,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.18981,
    "h": 273.6
  },
  "luminance": 0.1713
}

Semantic roles & 50–950 ramp

primary
#5766E4
secondary
#E6E0B1
accent
#C011D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5766E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5766E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva