#6864CB#6864CB

#6864CB is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.155 H 281.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6864CB
RGBrgb(104, 100, 203)
HSLhsl(242, 50%, 59%)
HSVhsv(242, 51%, 80%)
CMYKcmyk(48.8%, 50.7%, 0%, 20.4%)
CIE-LABlab(47.45, 28.97, -53.22)
CIE-LCHlch(47.45, 60.60, 298.56°)
OKLaboklab(55.85% 0.0319 -0.1516)
OKLCHoklch(55.85% 0.155 281.9)
XYZxyz(21.0423, 16.3681, 58.5389)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864CB #C7CB64
analogous
#6494CB #6864CB #9C64CB
triadic
#6864CB #CB6864 #64CB68
tetradic
#6864CB #CB6494 #C7CB64 #64CB9C
square
#6864CB #CB6494 #C7CB64 #64CB9C
split-complementary
#6864CB #CB9C64 #94CB64
monochromatic
#312D87 #413DB5 #6864CB #9592DA #C1C0EA

Accessibility & contrast

On white

4.91
#6864CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6864CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864CB#FFFFFF#000000##FFFFFF
##6864CB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#447A8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6864cb;
/* rgb */ color: rgb(104, 100, 203);
/* oklch */ color: oklch(55.9% 0.155 281.9);
Tailwind
colors: {
  custom: {
    50: '#9990db',
    500: '#6864cb',
    950: '#000000',
  },
}
SCSS
$custom: #6864cb;
$custom-light: #9990db;
$custom-dark: #000000;
JSON
{
  "hex": "#6864cb",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 242.33,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.15491,
    "h": 281.9
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#6864CB
secondary
#D8D9B1
accent
#D94FD4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6864CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6864CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva