#5866DA#5866DA

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

Color values

HEX#5866DA
RGBrgb(88, 102, 218)
HSLhsl(234, 64%, 60%)
HSVhsv(234, 60%, 85%)
CMYKcmyk(59.6%, 53.2%, 0%, 14.5%)
CIE-LABlab(47.80, 29.30, -61.29)
CIE-LCHlch(47.80, 67.93, 295.55°)
OKLaboklab(56.14% 0.0126 -0.1757)
OKLCHoklch(56.14% 0.176 274.1)
XYZxyz(21.4266, 16.6377, 68.3984)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866DA #DACC58
analogous
#58A7DA #5866DA #8B58DA
triadic
#5866DA #DA5866 #66DA58
tetradic
#5866DA #DA58A7 #DACC58 #58DA8B
square
#5866DA #DA58A7 #DACC58 #58DA8B
split-complementary
#5866DA #DA8B58 #A7DA58
monochromatic
#212E96 #2C3DC8 #5866DA #8A94E5 #BCC2F0

Accessibility & contrast

On white

4.85
#5866DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5866DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866DA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866DA#FFFFFF#000000##FFFFFF
##5866DA1.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)
#1B77DE
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5866da;
/* rgb */ color: rgb(88, 102, 218);
/* oklch */ color: oklch(56.1% 0.176 274.1);
Tailwind
colors: {
  custom: {
    50: '#9291e6',
    500: '#5866da',
    950: '#000000',
  },
}
SCSS
$custom: #5866da;
$custom-light: #9291e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5866da",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 233.538,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.17615,
    "h": 274.1
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#5866DA
secondary
#E0DBAE
accent
#D541E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5866DA

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

Preview Lab → · Contrast checker → · Palette generator →

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