#6864EE#6864EE

#6864EE is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.3% C 0.202 H 279.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6864EE
RGBrgb(104, 100, 238)
HSLhsl(242, 80%, 66%)
HSVhsv(242, 58%, 93%)
CMYKcmyk(56.3%, 58%, 0%, 6.7%)
CIE-LABlab(49.77, 39.79, -69.33)
CIE-LCHlch(49.77, 79.94, 299.86°)
OKLaboklab(58.32% 0.033 -0.1989)
OKLCHoklch(58.32% 0.202 279.4)
XYZxyz(25.6938, 18.2287, 83.0369)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864EE #EAEE64
analogous
#64A5EE #6864EE #AD64EE
triadic
#6864EE #EE6864 #64EE68
tetradic
#6864EE #EE64A5 #EAEE64 #64EEAD
square
#6864EE #EE64A5 #EAEE64 #64EEAD
split-complementary
#6864EE #EEAD64 #A5EE64
monochromatic
#1A15C2 #322DE8 #6864EE #9E9BF4 #D3D2FA

Accessibility & contrast

On white

4.52
#6864EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6864EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864EE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864EE#FFFFFF#000000##000000
##6864EE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#1B859F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6864ee;
/* rgb */ color: rgb(104, 100, 238);
/* oklch */ color: oklch(58.3% 0.202 279.4);
Tailwind
colors: {
  custom: {
    50: '#9e90f4',
    500: '#6864ee',
    950: '#000000',
  },
}
SCSS
$custom: #6864ee;
$custom-light: #9e90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6864ee",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 241.739,
    "s": 80.233,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.20166,
    "h": 279.4
  },
  "luminance": 0.1823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6864EE

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

Preview Lab → · Contrast checker → · Palette generator →

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