#5868DC#5868DC

#5868DC is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.7% C 0.176 H 273.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5868DC
RGBrgb(88, 104, 220)
HSLhsl(233, 65%, 60%)
HSVhsv(233, 60%, 86%)
CMYKcmyk(60%, 52.7%, 0%, 13.7%)
CIE-LABlab(48.44, 28.73, -61.39)
CIE-LCHlch(48.44, 67.78, 295.08°)
OKLaboklab(56.66% 0.0107 -0.176)
OKLCHoklch(56.66% 0.176 273.5)
XYZxyz(21.8888, 17.1409, 69.8513)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5868DC #DCCC58
analogous
#58AADC #5868DC #8A58DC
triadic
#5868DC #DC5868 #68DC58
tetradic
#5868DC #DC58AA #DCCC58 #58DC8A
square
#5868DC #DC58AA #DCCC58 #58DC8A
split-complementary
#5868DC #DC8A58 #AADC58
monochromatic
#202F99 #2B3ECC #5868DC #8B96E7 #BDC3F1

Accessibility & contrast

On white

4.74
#5868DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5868DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5868DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5868DC#FFFFFF#000000##FFFFFF
##5868DC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5868dc;
/* rgb */ color: rgb(88, 104, 220);
/* oklch */ color: oklch(56.7% 0.176 273.5);
Tailwind
colors: {
  custom: {
    50: '#9392e8',
    500: '#5868dc',
    950: '#000000',
  },
}
SCSS
$custom: #5868dc;
$custom-light: #9392e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5868dc",
  "rgb": {
    "r": 88,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 232.727,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.17632,
    "h": 273.5
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#5868DC
secondary
#E1DBAF
accent
#B718CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5868DC

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

Preview Lab → · Contrast checker → · Palette generator →

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