#5866DB#5866DB

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

Color values

HEX#5866DB
RGBrgb(88, 102, 219)
HSLhsl(234, 65%, 60%)
HSVhsv(234, 60%, 86%)
CMYKcmyk(59.8%, 53.4%, 0%, 14.1%)
CIE-LABlab(47.87, 29.63, -61.75)
CIE-LCHlch(47.87, 68.49, 295.64°)
OKLaboklab(56.21% 0.0126 -0.1771)
OKLCHoklch(56.21% 0.178 274.1)
XYZxyz(21.5579, 16.6902, 69.0896)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866DB #DBCD58
analogous
#58A7DB #5866DB #8C58DB
triadic
#5866DB #DB5866 #66DB58
tetradic
#5866DB #DB58A7 #DBCD58 #58DB8C
square
#5866DB #DB58A7 #DBCD58 #58DB8C
split-complementary
#5866DB #DB8C58 #A7DB58
monochromatic
#212D98 #2C3DCA #5866DB #8A94E6 #BDC2F1

Accessibility & contrast

On white

4.84
#5866DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5866DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866DB#FFFFFF#000000##FFFFFF
##5866DB1.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)
#1977DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5866db;
/* rgb */ color: rgb(88, 102, 219);
/* oklch */ color: oklch(56.2% 0.177 274.1);
Tailwind
colors: {
  custom: {
    50: '#9391e7',
    500: '#5866db',
    950: '#000000',
  },
}
SCSS
$custom: #5866db;
$custom-light: #9391e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5866db",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 233.588,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.1775,
    "h": 274.1
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#5866DB
secondary
#E1DBAE
accent
#B919CC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5866DB

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

Preview Lab → · Contrast checker → · Palette generator →

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