#5864E5#5864E5

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

Color values

HEX#5864E5
RGBrgb(88, 100, 229)
HSLhsl(235, 73%, 62%)
HSVhsv(235, 62%, 90%)
CMYKcmyk(61.6%, 56.3%, 0%, 10.2%)
CIE-LABlab(48.06, 34.17, -67.09)
CIE-LCHlch(48.06, 75.29, 296.99°)
OKLaboklab(56.57% 0.0149 -0.1928)
OKLCHoklch(56.57% 0.193 274.4)
XYZxyz(22.7199, 16.8443, 76.1675)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864E5 #E5D958
analogous
#58AAE5 #5864E5 #9358E5
triadic
#5864E5 #E55864 #64E558
tetradic
#5864E5 #E558AA #E5D958 #58E593
square
#5864E5 #E558AA #E5D958 #58E593
split-complementary
#5864E5 #E59358 #AAE558
monochromatic
#1A26A8 #2333DD #5864E5 #8D95ED #C2C6F5

Accessibility & contrast

On white

4.81
#5864E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5864E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864E5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864E5#FFFFFF#000000##FFFFFF
##5864E51.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5864e5;
/* rgb */ color: rgb(88, 100, 229);
/* oklch */ color: oklch(56.6% 0.193 274.4);
Tailwind
colors: {
  custom: {
    50: '#9490ee',
    500: '#5864e5',
    950: '#000000',
  },
}
SCSS
$custom: #5864e5;
$custom-light: #9490ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5864e5",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 234.894,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.19336,
    "h": 274.4
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#5864E5
secondary
#E6E2B3
accent
#C410D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5864E5

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

Preview Lab → · Contrast checker → · Palette generator →

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