#6864F8#6864F8

#6864F8 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.1% C 0.214 H 278.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6864F8
RGBrgb(104, 100, 248)
HSLhsl(242, 91%, 68%)
HSVhsv(242, 60%, 97%)
CMYKcmyk(58.1%, 59.7%, 0%, 2.7%)
CIE-LABlab(50.49, 42.91, -73.74)
CIE-LCHlch(50.49, 85.32, 300.19°)
OKLaboklab(59.07% 0.0327 -0.2119)
OKLCHoklch(59.07% 0.214 278.8)
XYZxyz(27.2040, 18.8328, 90.9903)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864F8 #F4F864
analogous
#64AAF8 #6864F8 #B264F8
triadic
#6864F8 #F86864 #64F868
tetradic
#6864F8 #F864AA #F4F864 #64F8B2
square
#6864F8 #F864AA #F4F864 #64F8B2
split-complementary
#6864F8 #F8B264 #AAF864
monochromatic
#0F0AD8 #2F29F5 #6864F8 #A19FFB #DAD9FD

Accessibility & contrast

On white

4.41
#6864F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6864F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864F8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864F8#FFFFFF#000000##000000
##6864F81.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0072F5
Tritanopia (blue-blind)
#0088A5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6864f8;
/* rgb */ color: rgb(104, 100, 248);
/* oklch */ color: oklch(59.1% 0.214 278.8);
Tailwind
colors: {
  custom: {
    50: '#a090fc',
    500: '#6864f8',
    950: '#000000',
  },
}
SCSS
$custom: #6864f8;
$custom-light: #a090fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6864f8",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 241.622,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.21445,
    "h": 278.8
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6864F8

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

Preview Lab → · Contrast checker → · Palette generator →

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