#6864ED#6864ED

#6864ED is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.2% C 0.200 H 279.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6864ED
RGBrgb(104, 100, 237)
HSLhsl(242, 79%, 66%)
HSVhsv(242, 58%, 93%)
CMYKcmyk(56.1%, 57.8%, 0%, 7.1%)
CIE-LABlab(49.70, 39.48, -68.88)
CIE-LCHlch(49.70, 79.39, 299.82°)
OKLaboklab(58.24% 0.033 -0.1976)
OKLCHoklch(58.24% 0.2 279.5)
XYZxyz(25.5473, 18.1701, 82.2653)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864ED #E9ED64
analogous
#64A4ED #6864ED #AC64ED
triadic
#6864ED #ED6864 #64ED68
tetradic
#6864ED #ED64A4 #E9ED64 #64EDAC
square
#6864ED #ED64A4 #E9ED64 #64EDAC
split-complementary
#6864ED #EDAC64 #A4ED64
monochromatic
#1B16C0 #332DE7 #6864ED #9D9BF3 #D3D2FA

Accessibility & contrast

On white

4.53
#6864ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6864ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864ED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864ED#FFFFFF#000000##000000
##6864ED1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#1D859F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6864ed;
/* rgb */ color: rgb(104, 100, 237);
/* oklch */ color: oklch(58.2% 0.200 279.5);
Tailwind
colors: {
  custom: {
    50: '#9e90f4',
    500: '#6864ed',
    950: '#000000',
  },
}
SCSS
$custom: #6864ed;
$custom-light: #9e90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6864ed",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 241.752,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.20037,
    "h": 279.5
  },
  "luminance": 0.18172
}

Semantic roles & 50–950 ramp

primary
#6864ED
secondary
#ECEDC0
accent
#DB0AD5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6864ED

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

Preview Lab → · Contrast checker → · Palette generator →

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