#6864CD#6864CD

#6864CD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.158 H 281.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6864CD
RGBrgb(104, 100, 205)
HSLhsl(242, 51%, 60%)
HSVhsv(242, 51%, 80%)
CMYKcmyk(49.3%, 51.2%, 0%, 19.6%)
CIE-LABlab(47.58, 29.58, -54.17)
CIE-LCHlch(47.58, 61.72, 298.63°)
OKLaboklab(55.99% 0.0321 -0.1544)
OKLCHoklch(55.99% 0.158 281.7)
XYZxyz(21.2822, 16.4641, 59.8022)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864CD #C9CD64
analogous
#6494CD #6864CD #9D64CD
triadic
#6864CD #CD6864 #64CD68
tetradic
#6864CD #CD6494 #C9CD64 #64CD9D
square
#6864CD #CD6494 #C9CD64 #64CD9D
split-complementary
#6864CD #CD9D64 #94CD64
monochromatic
#302D8A #403BB8 #6864CD #9592DC #C2C1EB

Accessibility & contrast

On white

4.89
#6864CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6864CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864CD#FFFFFF#000000##FFFFFF
##6864CD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#427B8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6864cd;
/* rgb */ color: rgb(104, 100, 205);
/* oklch */ color: oklch(56.0% 0.158 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a90dd',
    500: '#6864cd',
    950: '#000000',
  },
}
SCSS
$custom: #6864cd;
$custom-light: #9a90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6864cd",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 242.286,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.15768,
    "h": 281.7
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#6864CD
secondary
#D9DBB2
accent
#DB4DD5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6864CD

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

Preview Lab → · Contrast checker → · Palette generator →

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