#5766DC#5766DC

#5766DC is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.179 H 273.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5766DC
RGBrgb(87, 102, 220)
HSLhsl(233, 66%, 60%)
HSVhsv(233, 60%, 86%)
CMYKcmyk(60.5%, 53.6%, 0%, 13.7%)
CIE-LABlab(47.87, 29.79, -62.31)
CIE-LCHlch(47.87, 69.06, 295.55°)
OKLaboklab(56.22% 0.0116 -0.1787)
OKLCHoklch(56.22% 0.179 273.7)
XYZxyz(21.5959, 16.6946, 69.7806)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766DC #DCCD57
analogous
#57A8DC #5766DC #8A57DC
triadic
#5766DC #DC5766 #66DC57
tetradic
#5766DC #DC57A8 #DCCD57 #57DC8A
square
#5766DC #DC57A8 #DCCD57 #57DC8A
split-complementary
#5766DC #DC8A57 #A8DC57
monochromatic
#202D99 #2A3DCB #5766DC #8A94E7 #BCC2F1

Accessibility & contrast

On white

4.84
#5766DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5766DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766DC#FFFFFF#000000##FFFFFF
##5766DC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1578E0
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5766dc;
/* rgb */ color: rgb(87, 102, 220);
/* oklch */ color: oklch(56.2% 0.179 273.7);
Tailwind
colors: {
  custom: {
    50: '#9291e8',
    500: '#5766dc',
    950: '#000000',
  },
}
SCSS
$custom: #5766dc;
$custom-light: #9291e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5766dc",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 233.233,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.17911,
    "h": 273.7
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#5766DC
secondary
#E1DBAE
accent
#B918CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5766DC

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

Preview Lab → · Contrast checker → · Palette generator →

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