#6864CA#6864CA

#6864CA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.8% C 0.154 H 282.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6864CA
RGBrgb(104, 100, 202)
HSLhsl(242, 49%, 59%)
HSVhsv(242, 50%, 79%)
CMYKcmyk(48.5%, 50.5%, 0%, 20.8%)
CIE-LABlab(47.39, 28.66, -52.75)
CIE-LCHlch(47.39, 60.03, 298.52°)
OKLaboklab(55.79% 0.0318 -0.1502)
OKLCHoklch(55.79% 0.154 282)
XYZxyz(20.9235, 16.3206, 57.9133)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864CA #C6CA64
analogous
#6493CA #6864CA #9B64CA
triadic
#6864CA #CA6864 #64CA68
tetradic
#6864CA #CA6493 #C6CA64 #64CA9B
square
#6864CA #CA6493 #C6CA64 #64CA9B
split-complementary
#6864CA #CA9B64 #93CA64
monochromatic
#312E86 #423DB3 #6864CA #9492DA #C1BFE9

Accessibility & contrast

On white

4.92
#6864CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6864CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864CA#FFFFFF#000000##FFFFFF
##6864CA1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#447A8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6864ca;
/* rgb */ color: rgb(104, 100, 202);
/* oklch */ color: oklch(55.8% 0.154 282.0);
Tailwind
colors: {
  custom: {
    50: '#9990db',
    500: '#6864ca',
    950: '#000000',
  },
}
SCSS
$custom: #6864ca;
$custom-light: #9990db;
$custom-dark: #000000;
JSON
{
  "hex": "#6864ca",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 242.353,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.15354,
    "h": 282
  },
  "luminance": 0.16322
}

Semantic roles & 50–950 ramp

primary
#6864CA
secondary
#D7D9B1
accent
#D94FD3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6864CA

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

Preview Lab → · Contrast checker → · Palette generator →

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