#6864DC#6864DC

#6864DC is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.0% C 0.178 H 280.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6864DC
RGBrgb(104, 100, 220)
HSLhsl(242, 63%, 63%)
HSVhsv(242, 55%, 86%)
CMYKcmyk(52.7%, 54.5%, 0%, 13.7%)
CIE-LABlab(48.54, 34.20, -61.17)
CIE-LCHlch(48.54, 70.08, 299.21°)
OKLaboklab(57.01% 0.0329 -0.175)
OKLCHoklch(57.01% 0.178 280.6)
XYZxyz(23.1804, 17.2233, 69.7992)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864DC #D8DC64
analogous
#649CDC #6864DC #A464DC
triadic
#6864DC #DC6864 #64DC68
tetradic
#6864DC #DC649C #D8DC64 #64DCA4
square
#6864DC #DC649C #D8DC64 #64DCA4
split-complementary
#6864DC #DCA464 #9CDC64
monochromatic
#2924A1 #3732D1 #6864DC #9996E7 #C9C8F3

Accessibility & contrast

On white

4.72
#6864DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6864DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864DC#FFFFFF#000000##FFFFFF
##6864DC1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#357F96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6864dc;
/* rgb */ color: rgb(104, 100, 220);
/* oklch */ color: oklch(57.0% 0.178 280.6);
Tailwind
colors: {
  custom: {
    50: '#9c90e8',
    500: '#6864dc',
    950: '#000000',
  },
}
SCSS
$custom: #6864dc;
$custom-light: #9c90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6864dc",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 242,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.17803,
    "h": 280.6
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#6864DC
secondary
#E2E4B8
accent
#CB1BC5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6864DC

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

Preview Lab → · Contrast checker → · Palette generator →

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