#5766EB#5766EB

#5766EB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.3% C 0.199 H 273.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5766EB
RGBrgb(87, 102, 235)
HSLhsl(234, 79%, 63%)
HSVhsv(234, 63%, 92%)
CMYKcmyk(63%, 56.6%, 0%, 7.8%)
CIE-LABlab(48.91, 34.78, -69.09)
CIE-LCHlch(48.91, 77.35, 296.72°)
OKLaboklab(57.33% 0.0121 -0.1987)
OKLCHoklch(57.33% 0.199 273.5)
XYZxyz(23.6723, 17.5251, 80.7164)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766EB #EBDC57
analogous
#57B0EB #5766EB #9257EB
triadic
#5766EB #EB5766 #66EB57
tetradic
#5766EB #EB57B0 #EBDC57 #57EB92
square
#5766EB #EB57B0 #EBDC57 #57EB92
split-complementary
#5766EB #EB9257 #B0EB57
monochromatic
#1525B2 #2034E4 #5766EB #8E98F2 #C4CAF8

Accessibility & contrast

On white

4.66
#5766EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5766EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5766EB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766EB#FFFFFF#000000##FFFFFF
##5766EB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5766eb;
/* rgb */ color: rgb(87, 102, 235);
/* oklch */ color: oklch(57.3% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#9591f2',
    500: '#5766eb',
    950: '#000000',
  },
}
SCSS
$custom: #5766eb;
$custom-light: #9591f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5766eb",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 233.919,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.19904,
    "h": 273.5
  },
  "luminance": 0.17527
}

Semantic roles & 50–950 ramp

primary
#5766EB
secondary
#E9E4B4
accent
#C60ADB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5766EB

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

Preview Lab → · Contrast checker → · Palette generator →

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