#5766DB#5766DB

#5766DB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.178 H 273.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5766DB
RGBrgb(87, 102, 219)
HSLhsl(233, 65%, 60%)
HSVhsv(233, 60%, 86%)
CMYKcmyk(60.3%, 53.4%, 0%, 14.1%)
CIE-LABlab(47.81, 29.46, -61.85)
CIE-LCHlch(47.81, 68.51, 295.47°)
OKLaboklab(56.15% 0.0116 -0.1774)
OKLCHoklch(56.15% 0.178 273.7)
XYZxyz(21.4638, 16.6417, 69.0852)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766DB #DBCC57
analogous
#57A8DB #5766DB #8A57DB
triadic
#5766DB #DB5766 #66DB57
tetradic
#5766DB #DB57A8 #DBCC57 #57DB8A
square
#5766DB #DB57A8 #DBCC57 #57DB8A
split-complementary
#5766DB #DB8A57 #A8DB57
monochromatic
#202E97 #2B3DCA #5766DB #8994E6 #BCC2F1

Accessibility & contrast

On white

4.85
#5766DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5766DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5766DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766DB#FFFFFF#000000##FFFFFF
##5766DB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1877DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5766db;
/* rgb */ color: rgb(87, 102, 219);
/* oklch */ color: oklch(56.1% 0.178 273.7);
Tailwind
colors: {
  custom: {
    50: '#9291e7',
    500: '#5766db',
    950: '#000000',
  },
}
SCSS
$custom: #5766db;
$custom-light: #9291e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5766db",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 233.182,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.17776,
    "h": 273.7
  },
  "luminance": 0.16643
}

Semantic roles & 50–950 ramp

primary
#5766DB
secondary
#E0DBAD
accent
#D540E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5766DB

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

Preview Lab → · Contrast checker → · Palette generator →

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