#6864EA#6864EA

#6864EA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 58.0% C 0.196 H 279.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6864EA
RGBrgb(104, 100, 234)
HSLhsl(242, 76%, 65%)
HSVhsv(242, 57%, 92%)
CMYKcmyk(55.6%, 57.3%, 0%, 8.2%)
CIE-LABlab(49.49, 38.55, -67.54)
CIE-LCHlch(49.49, 77.76, 299.72°)
OKLaboklab(58.02% 0.033 -0.1937)
OKLCHoklch(58.02% 0.196 279.7)
XYZxyz(25.1127, 17.9963, 79.9763)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864EA #E6EA64
analogous
#64A3EA #6864EA #AB64EA
triadic
#6864EA #EA6864 #64EA68
tetradic
#6864EA #EA64A3 #E6EA64 #64EAAB
square
#6864EA #EA64A3 #E6EA64 #64EAAB
split-complementary
#6864EA #EAAB64 #A3EA64
monochromatic
#1E19BA #332EE3 #6864EA #9D9AF1 #D1D0F9

Accessibility & contrast

On white

4.57
#6864EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#6864EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6864EA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864EA#FFFFFF#000000##000000
##6864EA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#23849D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6864ea;
/* rgb */ color: rgb(104, 100, 234);
/* oklch */ color: oklch(58.0% 0.196 279.7);
Tailwind
colors: {
  custom: {
    50: '#9e90f2',
    500: '#6864ea',
    950: '#000000',
  },
}
SCSS
$custom: #6864ea;
$custom-light: #9e90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6864ea",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 241.791,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.19648,
    "h": 279.7
  },
  "luminance": 0.17998
}

Semantic roles & 50–950 ramp

primary
#6864EA
secondary
#EAEBBE
accent
#D80DD2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6864EA

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

Preview Lab → · Contrast checker → · Palette generator →

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