#5864CD#5864CD

#5864CD is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.161 H 274.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5864CD
RGBrgb(88, 100, 205)
HSLhsl(234, 54%, 57%)
HSVhsv(234, 57%, 80%)
CMYKcmyk(57.1%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.44, 26.25, -56.06)
CIE-LCHlch(46.44, 61.90, 295.09°)
OKLaboklab(54.84% 0.0137 -0.1603)
OKLCHoklch(54.84% 0.161 274.9)
XYZxyz(19.5975, 15.5954, 59.7233)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864CD #CDC158
analogous
#589FCD #5864CD #8658CD
triadic
#5864CD #CD5864 #64CD58
tetradic
#5864CD #CD589F #CDC158 #58CD86
square
#5864CD #CD589F #CDC158 #58CD86
split-complementary
#5864CD #CD8658 #9FCD58
monochromatic
#273183 #3542B2 #5864CD #8790DB #B6BBE9

Accessibility & contrast

On white

5.10
#5864CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5864CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864CD#FFFFFF#000000##FFFFFF
##5864CD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#1369CB
Tritanopia (blue-blind)
#0C7C8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5864cd;
/* rgb */ color: rgb(88, 100, 205);
/* oklch */ color: oklch(54.8% 0.161 274.9);
Tailwind
colors: {
  custom: {
    50: '#9190dd',
    500: '#5864cd',
    950: '#000000',
  },
}
SCSS
$custom: #5864cd;
$custom-light: #9190dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5864cd",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 233.846,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.16093,
    "h": 274.9
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#5864CD
secondary
#D8D3A9
accent
#CE4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5864CD

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

Preview Lab → · Contrast checker → · Palette generator →

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