#6864F0#6864F0

#6864F0 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.5% C 0.204 H 279.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6864F0
RGBrgb(104, 100, 240)
HSLhsl(242, 82%, 67%)
HSVhsv(242, 58%, 94%)
CMYKcmyk(56.7%, 58.3%, 0%, 5.9%)
CIE-LABlab(49.91, 40.42, -70.22)
CIE-LCHlch(49.91, 81.02, 299.93°)
OKLaboklab(58.47% 0.0329 -0.2016)
OKLCHoklch(58.47% 0.204 279.3)
XYZxyz(25.9893, 18.3469, 84.5930)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864F0 #ECF064
analogous
#64A6F0 #6864F0 #AE64F0
triadic
#6864F0 #F06864 #64F068
tetradic
#6864F0 #F064A6 #ECF064 #64F0AE
square
#6864F0 #F064A6 #ECF064 #64F0AE
split-complementary
#6864F0 #F0AE64 #A6F064
monochromatic
#1813C6 #322CEB #6864F0 #9E9CF5 #D5D4FB

Accessibility & contrast

On white

4.50
#6864F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6864F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864F0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864F0#FFFFFF#000000##000000
##6864F01.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#1685A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6864f0;
/* rgb */ color: rgb(104, 100, 240);
/* oklch */ color: oklch(58.5% 0.204 279.3);
Tailwind
colors: {
  custom: {
    50: '#9e90f6',
    500: '#6864f0',
    950: '#000000',
  },
}
SCSS
$custom: #6864f0;
$custom-light: #9e90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6864f0",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 241.714,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.20424,
    "h": 279.3
  },
  "luminance": 0.18349
}

Semantic roles & 50–950 ramp

primary
#6864F0
secondary
#EDEEC1
accent
#DF07D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6864F0

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

Preview Lab → · Contrast checker → · Palette generator →

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