#6864F6#6864F6

#6864F6 is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 58.9% C 0.212 H 278.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6864F6
RGBrgb(104, 100, 246)
HSLhsl(242, 89%, 68%)
HSVhsv(242, 59%, 96%)
CMYKcmyk(57.7%, 59.3%, 0%, 3.5%)
CIE-LABlab(50.35, 42.29, -72.87)
CIE-LCHlch(50.35, 84.25, 300.13°)
OKLaboklab(58.92% 0.0328 -0.2094)
OKLCHoklch(58.92% 0.212 278.9)
XYZxyz(26.8954, 18.7093, 89.3649)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864F6 #F2F664
analogous
#64A9F6 #6864F6 #B164F6
triadic
#6864F6 #F66864 #64F668
tetradic
#6864F6 #F664A9 #F2F664 #64F6B1
square
#6864F6 #F664A9 #F2F664 #64F6B1
split-complementary
#6864F6 #F6B164 #A9F664
monochromatic
#120CD3 #302AF3 #6864F6 #A09EF9 #D9D8FD

Accessibility & contrast

On white

4.43
#6864F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6864F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864F6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864F6#FFFFFF#000000##000000
##6864F61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#0087A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6864f6;
/* rgb */ color: rgb(104, 100, 246);
/* oklch */ color: oklch(58.9% 0.212 278.9);
Tailwind
colors: {
  custom: {
    50: '#9f90fa',
    500: '#6864f6',
    950: '#000000',
  },
}
SCSS
$custom: #6864f6;
$custom-light: #9f90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6864f6",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 241.644,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.21191,
    "h": 278.9
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#6864F6
secondary
#F0F1C4
accent
#E600DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6864F6

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

Preview Lab → · Contrast checker → · Palette generator →

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