#5766E5#5766E5

#5766E5 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.9% C 0.191 H 273.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5766E5
RGBrgb(87, 102, 229)
HSLhsl(234, 73%, 62%)
HSVhsv(234, 62%, 90%)
CMYKcmyk(62%, 55.5%, 0%, 10.2%)
CIE-LABlab(48.49, 32.78, -66.40)
CIE-LCHlch(48.49, 74.05, 296.28°)
OKLaboklab(56.88% 0.012 -0.1908)
OKLCHoklch(56.88% 0.191 273.6)
XYZxyz(22.8200, 17.1842, 76.2279)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766E5 #E5D657
analogous
#57ADE5 #5766E5 #8F57E5
triadic
#5766E5 #E55766 #66E557
tetradic
#5766E5 #E557AD #E5D657 #57E58F
square
#5766E5 #E557AD #E5D657 #57E58F
split-complementary
#5766E5 #E58F57 #ADE557
monochromatic
#1A29A8 #2236DD #5766E5 #8C96ED #C1C7F5

Accessibility & contrast

On white

4.73
#5766E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5766E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766E5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766E5#FFFFFF#000000##FFFFFF
##5766E51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5766e5;
/* rgb */ color: rgb(87, 102, 229);
/* oklch */ color: oklch(56.9% 0.191 273.6);
Tailwind
colors: {
  custom: {
    50: '#9491ee',
    500: '#5766e5',
    950: '#000000',
  },
}
SCSS
$custom: #5766e5;
$custom-light: #9491ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5766e5",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 233.662,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.19114,
    "h": 273.6
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

primary
#5766E5
secondary
#E6E1B2
accent
#C010D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5766E5

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

Preview Lab → · Contrast checker → · Palette generator →

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