#6864F4#6864F4

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

Color values

HEX#6864F4
RGBrgb(104, 100, 244)
HSLhsl(242, 87%, 67%)
HSVhsv(242, 59%, 96%)
CMYKcmyk(57.4%, 59%, 0%, 4.3%)
CIE-LABlab(50.20, 41.66, -71.99)
CIE-LCHlch(50.20, 83.17, 300.06°)
OKLaboklab(58.77% 0.0328 -0.2068)
OKLCHoklch(58.77% 0.209 279)
XYZxyz(26.5900, 18.5872, 87.7569)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864F4 #F0F464
analogous
#64A8F4 #6864F4 #B064F4
triadic
#6864F4 #F46864 #64F468
tetradic
#6864F4 #F464A8 #F0F464 #64F4B0
square
#6864F4 #F464A8 #F0F464 #64F4B0
split-complementary
#6864F4 #F4B064 #A8F464
monochromatic
#140FCF #302BF0 #6864F4 #A09DF8 #D7D6FC

Accessibility & contrast

On white

4.45
#6864F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6864F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864F4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864F4#FFFFFF#000000##000000
##6864F41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#0887A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6864f4;
/* rgb */ color: rgb(104, 100, 244);
/* oklch */ color: oklch(58.8% 0.209 279.0);
Tailwind
colors: {
  custom: {
    50: '#9f90f9',
    500: '#6864f4',
    950: '#000000',
  },
}
SCSS
$custom: #6864f4;
$custom-light: #9f90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6864f4",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 241.667,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.58769,
    "c": 0.20937,
    "h": 279
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#6864F4
secondary
#EFF0C3
accent
#E302DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6864F4

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

Preview Lab → · Contrast checker → · Palette generator →

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