#6864F5#6864F5

#6864F5 is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.8% C 0.211 H 279.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6864F5
RGBrgb(104, 100, 245)
HSLhsl(242, 88%, 68%)
HSVhsv(242, 59%, 96%)
CMYKcmyk(57.6%, 59.2%, 0%, 3.9%)
CIE-LABlab(50.27, 41.98, -72.43)
CIE-LCHlch(50.27, 83.71, 300.10°)
OKLaboklab(58.85% 0.0328 -0.2081)
OKLCHoklch(58.85% 0.211 279)
XYZxyz(26.7423, 18.6481, 88.5587)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864F5 #F1F564
analogous
#64A9F5 #6864F5 #B064F5
triadic
#6864F5 #F56864 #64F568
tetradic
#6864F5 #F564A9 #F1F564 #64F5B0
square
#6864F5 #F564A9 #F1F564 #64F5B0
split-complementary
#6864F5 #F5B064 #A9F564
monochromatic
#130DD1 #302BF1 #6864F5 #A09DF9 #D8D7FC

Accessibility & contrast

On white

4.44
#6864F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6864F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864F5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864F5#FFFFFF#000000##000000
##6864F51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#0387A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6864f5;
/* rgb */ color: rgb(104, 100, 245);
/* oklch */ color: oklch(58.8% 0.211 279.0);
Tailwind
colors: {
  custom: {
    50: '#9f90f9',
    500: '#6864f5',
    950: '#000000',
  },
}
SCSS
$custom: #6864f5;
$custom-light: #9f90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6864f5",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 241.655,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.21064,
    "h": 279
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6864F5

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

Preview Lab → · Contrast checker → · Palette generator →

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