#5766DD#5766DD

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

Color values

HEX#5766DD
RGBrgb(87, 102, 221)
HSLhsl(233, 66%, 60%)
HSVhsv(233, 61%, 87%)
CMYKcmyk(60.6%, 53.8%, 0%, 13.3%)
CIE-LABlab(47.94, 30.12, -62.77)
CIE-LCHlch(47.94, 69.62, 295.64°)
OKLaboklab(56.29% 0.0117 -0.1801)
OKLCHoklch(56.29% 0.18 273.7)
XYZxyz(21.7287, 16.7477, 70.4802)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766DD #DDCE57
analogous
#57A9DD #5766DD #8B57DD
triadic
#5766DD #DD5766 #66DD57
tetradic
#5766DD #DD57A9 #DDCE57 #57DD8B
square
#5766DD #DD57A9 #DDCE57 #57DD8B
split-complementary
#5766DD #DD8B57 #A9DD57
monochromatic
#1F2D9A #2A3CCD #5766DD #8A94E7 #BDC3F2

Accessibility & contrast

On white

4.83
#5766DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5766DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766DD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766DD#FFFFFF#000000##FFFFFF
##5766DD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1278E1
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5766dd;
/* rgb */ color: rgb(87, 102, 221);
/* oklch */ color: oklch(56.3% 0.180 273.7);
Tailwind
colors: {
  custom: {
    50: '#9291e8',
    500: '#5766dd',
    950: '#000000',
  },
}
SCSS
$custom: #5766dd;
$custom-light: #9291e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5766dd",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 233.284,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.18046,
    "h": 273.7
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#5766DD
secondary
#E1DCAE
accent
#BA17CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5766DD

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

Preview Lab → · Contrast checker → · Palette generator →

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