#5864E6#5864E6

#5864E6 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.6% C 0.195 H 274.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5864E6
RGBrgb(88, 100, 230)
HSLhsl(235, 74%, 62%)
HSVhsv(235, 62%, 90%)
CMYKcmyk(61.7%, 56.5%, 0%, 9.8%)
CIE-LABlab(48.13, 34.50, -67.54)
CIE-LCHlch(48.13, 75.84, 297.06°)
OKLaboklab(56.65% 0.0149 -0.1941)
OKLCHoklch(56.65% 0.195 274.4)
XYZxyz(22.8599, 16.9003, 76.9050)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864E6 #E6DA58
analogous
#58ABE6 #5864E6 #9358E6
triadic
#5864E6 #E65864 #64E658
tetradic
#5864E6 #E658AB #E6DA58 #58E693
square
#5864E6 #E658AB #E6DA58 #58E693
split-complementary
#5864E6 #E69358 #ABE658
monochromatic
#1926AA #2333DE #5864E6 #8D95EE #C2C7F6

Accessibility & contrast

On white

4.79
#5864E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5864E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864E6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864E6#FFFFFF#000000##FFFFFF
##5864E61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5864e6;
/* rgb */ color: rgb(88, 100, 230);
/* oklch */ color: oklch(56.6% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#9590ef',
    500: '#5864e6',
    950: '#000000',
  },
}
SCSS
$custom: #5864e6;
$custom-light: #9590ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5864e6",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 234.93,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.19468,
    "h": 274.4
  },
  "luminance": 0.16902
}

Semantic roles & 50–950 ramp

primary
#5864E6
secondary
#E7E2B3
accent
#C50FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5864E6

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

Preview Lab → · Contrast checker → · Palette generator →

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