#6864FD#6864FD

#6864FD is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.5% C 0.221 H 278.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6864FD
RGBrgb(104, 100, 253)
HSLhsl(242, 97%, 69%)
HSVhsv(242, 60%, 99%)
CMYKcmyk(58.9%, 60.5%, 0%, 0.8%)
CIE-LABlab(50.86, 44.47, -75.92)
CIE-LCHlch(50.86, 87.99, 300.36°)
OKLaboklab(59.46% 0.0325 -0.2183)
OKLCHoklch(59.46% 0.221 278.5)
XYZxyz(27.9901, 19.1472, 95.1303)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864FD #F9FD64
analogous
#64ACFD #6864FD #B564FD
triadic
#6864FD #FD6864 #64FD68
tetradic
#6864FD #FD64AC #F9FD64 #64FDB5
square
#6864FD #FD64AC #F9FD64 #64FDB5
split-complementary
#6864FD #FDB564 #ACFD64
monochromatic
#0903E4 #2D28FC #6864FD #A3A0FE #DEDDFF

Accessibility & contrast

On white

4.35
#6864FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6864FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864FD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864FD#FFFFFF#000000##000000
##6864FD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0073FA
Tritanopia (blue-blind)
#008AA7
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6864fd;
/* rgb */ color: rgb(104, 100, 253);
/* oklch */ color: oklch(59.5% 0.221 278.5);
Tailwind
colors: {
  custom: {
    50: '#a090ff',
    500: '#6864fd',
    950: '#000000',
  },
}
SCSS
$custom: #6864fd;
$custom-light: #a090ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6864fd",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 253
  },
  "hsl": {
    "h": 241.569,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.22075,
    "h": 278.5
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6864FD

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

Preview Lab → · Contrast checker → · Palette generator →

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