#5864D5#5864D5

#5864D5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.4% C 0.172 H 274.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5864D5
RGBrgb(88, 100, 213)
HSLhsl(234, 60%, 59%)
HSVhsv(234, 59%, 84%)
CMYKcmyk(58.7%, 53.1%, 0%, 16.5%)
CIE-LABlab(46.96, 28.89, -59.79)
CIE-LCHlch(46.96, 66.40, 295.79°)
OKLaboklab(55.4% 0.0143 -0.1713)
OKLCHoklch(55.4% 0.172 274.8)
XYZxyz(20.5880, 15.9916, 64.9397)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864D5 #D5C958
analogous
#58A3D5 #5864D5 #8B58D5
triadic
#5864D5 #D55864 #64D558
tetradic
#5864D5 #D558A3 #D5C958 #58D58B
square
#5864D5 #D558A3 #D5C958 #58D58B
split-complementary
#5864D5 #D58B58 #A3D558
monochromatic
#242E8F #303EC0 #5864D5 #8991E1 #BABFEE

Accessibility & contrast

On white

5.00
#5864D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5864D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864D5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864D5#FFFFFF#000000##FFFFFF
##5864D51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E75D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5864d5;
/* rgb */ color: rgb(88, 100, 213);
/* oklch */ color: oklch(55.4% 0.172 274.8);
Tailwind
colors: {
  custom: {
    50: '#9290e3',
    500: '#5864d5',
    950: '#000000',
  },
}
SCSS
$custom: #5864d5;
$custom-light: #9290e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5864d5",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 234.24,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.17191,
    "h": 274.8
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#5864D5
secondary
#DDD8AC
accent
#D445E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5864D5

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

Preview Lab → · Contrast checker → · Palette generator →

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