#6864FB#6864FB

#6864FB is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.3% C 0.218 H 278.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6864FB
RGBrgb(104, 100, 251)
HSLhsl(242, 95%, 69%)
HSVhsv(242, 60%, 98%)
CMYKcmyk(58.6%, 60.2%, 0%, 1.6%)
CIE-LABlab(50.71, 43.85, -75.05)
CIE-LCHlch(50.71, 86.92, 300.29°)
OKLaboklab(59.31% 0.0326 -0.2158)
OKLCHoklch(59.31% 0.218 278.6)
XYZxyz(27.6731, 19.0204, 93.4611)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864FB #F7FB64
analogous
#64ACFB #6864FB #B464FB
triadic
#6864FB #FB6864 #64FB68
tetradic
#6864FB #FB64AC #F7FB64 #64FBB4
square
#6864FB #FB64AC #F7FB64 #64FBB4
split-complementary
#6864FB #FBB464 #ACFB64
monochromatic
#0C06DF #2E28F9 #6864FB #A2A0FD #DCDBFE

Accessibility & contrast

On white

4.37
#6864FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6864FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864FB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864FB#FFFFFF#000000##000000
##6864FB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#0089A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6864fb;
/* rgb */ color: rgb(104, 100, 251);
/* oklch */ color: oklch(59.3% 0.218 278.6);
Tailwind
colors: {
  custom: {
    50: '#a090fe',
    500: '#6864fb',
    950: '#000000',
  },
}
SCSS
$custom: #6864fb;
$custom-light: #a090fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6864fb",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 241.589,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.59305,
    "c": 0.21823,
    "h": 278.6
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#6864FB
secondary
#F3F4C7
accent
#E600DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6864FB

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

Preview Lab → · Contrast checker → · Palette generator →

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