#5864D2#5864D2

#5864D2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.168 H 274.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5864D2
RGBrgb(88, 100, 210)
HSLhsl(234, 58%, 58%)
HSVhsv(234, 58%, 82%)
CMYKcmyk(58.1%, 52.4%, 0%, 17.6%)
CIE-LABlab(46.76, 27.90, -58.40)
CIE-LCHlch(46.76, 64.72, 295.53°)
OKLaboklab(55.19% 0.0141 -0.1672)
OKLCHoklch(55.19% 0.168 274.8)
XYZxyz(20.2107, 15.8407, 62.9528)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864D2 #D2C658
analogous
#58A1D2 #5864D2 #8958D2
triadic
#5864D2 #D25864 #64D258
tetradic
#5864D2 #D258A1 #D2C658 #58D289
square
#5864D2 #D258A1 #D2C658 #58D289
split-complementary
#5864D2 #D28958 #A1D258
monochromatic
#252F8A #3240BB #5864D2 #8891DF #B8BDEC

Accessibility & contrast

On white

5.04
#5864D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5864D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864D2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864D2#FFFFFF#000000##FFFFFF
##5864D21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5864d2;
/* rgb */ color: rgb(88, 100, 210);
/* oklch */ color: oklch(55.2% 0.168 274.8);
Tailwind
colors: {
  custom: {
    50: '#9190e0',
    500: '#5864d2',
    950: '#000000',
  },
}
SCSS
$custom: #5864d2;
$custom-light: #9190e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5864d2",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 234.098,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55189,
    "c": 0.16782,
    "h": 274.8
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#5864D2
secondary
#DBD6AB
accent
#D247E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5864D2

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

Preview Lab → · Contrast checker → · Palette generator →

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