#5766E1#5766E1

#5766E1 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.186 H 273.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5766E1
RGBrgb(87, 102, 225)
HSLhsl(233, 70%, 61%)
HSVhsv(233, 61%, 88%)
CMYKcmyk(61.3%, 54.7%, 0%, 11.8%)
CIE-LABlab(48.21, 31.45, -64.59)
CIE-LCHlch(48.21, 71.84, 295.96°)
OKLaboklab(56.58% 0.0118 -0.1854)
OKLCHoklch(56.58% 0.186 273.7)
XYZxyz(22.2680, 16.9634, 73.3204)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766E1 #E1D257
analogous
#57ABE1 #5766E1 #8D57E1
triadic
#5766E1 #E15766 #66E157
tetradic
#5766E1 #E157AB #E1D257 #57E18D
square
#5766E1 #E157AB #E1D257 #57E18D
split-complementary
#5766E1 #E18D57 #ABE157
monochromatic
#1D2BA1 #2639D5 #5766E1 #8B95EA #BFC5F4

Accessibility & contrast

On white

4.78
#5766E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5766E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766E1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766E1#FFFFFF#000000##FFFFFF
##5766E11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5766e1;
/* rgb */ color: rgb(87, 102, 225);
/* oklch */ color: oklch(56.6% 0.186 273.7);
Tailwind
colors: {
  custom: {
    50: '#9391eb',
    500: '#5766e1',
    950: '#000000',
  },
}
SCSS
$custom: #5766e1;
$custom-light: #9391eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5766e1",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 233.478,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.18582,
    "h": 273.7
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

primary
#5766E1
secondary
#E4DEB0
accent
#BD14D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5766E1

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

Preview Lab → · Contrast checker → · Palette generator →

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