#6864CF#6864CF

#6864CF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.160 H 281.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6864CF
RGBrgb(104, 100, 207)
HSLhsl(242, 53%, 60%)
HSVhsv(242, 52%, 81%)
CMYKcmyk(49.8%, 51.7%, 0%, 18.8%)
CIE-LABlab(47.70, 30.19, -55.12)
CIE-LCHlch(47.70, 62.84, 298.71°)
OKLaboklab(56.12% 0.0322 -0.1572)
OKLCHoklch(56.12% 0.16 281.6)
XYZxyz(21.5252, 16.5612, 61.0818)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864CF #CBCF64
analogous
#6495CF #6864CF #9D64CF
triadic
#6864CF #CF6864 #64CF68
tetradic
#6864CF #CF6495 #CBCF64 #64CF9D
square
#6864CF #CF6495 #CBCF64 #64CF9D
split-complementary
#6864CF #CF9D64 #95CF64
monochromatic
#2F2C8D #3F3ABC #6864CF #9693DD #C3C1EC

Accessibility & contrast

On white

4.87
#6864CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6864CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6864CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864CF#FFFFFF#000000##FFFFFF
##6864CF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#256DCD
Tritanopia (blue-blind)
#417C90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6864cf;
/* rgb */ color: rgb(104, 100, 207);
/* oklch */ color: oklch(56.1% 0.160 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a90de',
    500: '#6864cf',
    950: '#000000',
  },
}
SCSS
$custom: #6864cf;
$custom-light: #9a90de;
$custom-dark: #000000;
JSON
{
  "hex": "#6864cf",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 242.243,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.16043,
    "h": 281.6
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#6864CF
secondary
#DADCB3
accent
#C025BA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6864CF

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

Preview Lab → · Contrast checker → · Palette generator →

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