#5864D8#5864D8

#5864D8 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.176 H 274.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5864D8
RGBrgb(88, 100, 216)
HSLhsl(234, 62%, 60%)
HSVhsv(234, 59%, 85%)
CMYKcmyk(59.3%, 53.7%, 0%, 15.3%)
CIE-LABlab(47.16, 29.88, -61.18)
CIE-LCHlch(47.16, 68.08, 296.03°)
OKLaboklab(55.62% 0.0144 -0.1754)
OKLCHoklch(55.62% 0.176 274.7)
XYZxyz(20.9723, 16.1453, 66.9636)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864D8 #D8CC58
analogous
#58A4D8 #5864D8 #8C58D8
triadic
#5864D8 #D85864 #64D858
tetradic
#5864D8 #D858A4 #D8CC58 #58D88C
square
#5864D8 #D858A4 #D8CC58 #58D88C
split-complementary
#5864D8 #D88C58 #A4D858
monochromatic
#222D93 #2E3CC5 #5864D8 #8A92E4 #BBC0EF

Accessibility & contrast

On white

4.97
#5864D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5864D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864D8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864D8#FFFFFF#000000##FFFFFF
##5864D81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1775DC
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5864d8;
/* rgb */ color: rgb(88, 100, 216);
/* oklch */ color: oklch(55.6% 0.176 274.7);
Tailwind
colors: {
  custom: {
    50: '#9290e5',
    500: '#5864d8',
    950: '#000000',
  },
}
SCSS
$custom: #5864d8;
$custom-light: #9290e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5864d8",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 234.375,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.17599,
    "h": 274.7
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#5864D8
secondary
#DFDAAD
accent
#D643E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5864D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5864D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva