#5766E8#5766E8

#5766E8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.1% C 0.195 H 273.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5766E8
RGBrgb(87, 102, 232)
HSLhsl(234, 76%, 63%)
HSVhsv(234, 63%, 91%)
CMYKcmyk(62.5%, 56%, 0%, 9%)
CIE-LABlab(48.70, 33.78, -67.74)
CIE-LCHlch(48.70, 75.70, 296.50°)
OKLaboklab(57.1% 0.0121 -0.1947)
OKLCHoklch(57.1% 0.195 273.5)
XYZxyz(23.2425, 17.3532, 78.4530)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766E8 #E8D957
analogous
#57AFE8 #5766E8 #9057E8
triadic
#5766E8 #E85766 #66E857
tetradic
#5766E8 #E857AF #E8D957 #57E890
square
#5766E8 #E857AF #E8D957 #57E890
split-complementary
#5766E8 #E89057 #AFE857
monochromatic
#1827AD #2135E1 #5766E8 #8D97EF #C3C8F7

Accessibility & contrast

On white

4.70
#5766E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5766E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766E8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766E8#FFFFFF#000000##FFFFFF
##5766E81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5766e8;
/* rgb */ color: rgb(87, 102, 232);
/* oklch */ color: oklch(57.1% 0.195 273.5);
Tailwind
colors: {
  custom: {
    50: '#9491f0',
    500: '#5766e8',
    950: '#000000',
  },
}
SCSS
$custom: #5766e8;
$custom-light: #9491f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5766e8",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 233.793,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.571,
    "c": 0.19509,
    "h": 273.5
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

primary
#5766E8
secondary
#E8E2B3
accent
#C30DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5766E8

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

Preview Lab → · Contrast checker → · Palette generator →

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