#6867EC#6867EC

#6867EC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.7% C 0.195 H 278.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6867EC
RGBrgb(104, 103, 236)
HSLhsl(240, 78%, 66%)
HSVhsv(240, 56%, 93%)
CMYKcmyk(55.9%, 56.4%, 0%, 7.5%)
CIE-LABlab(50.33, 37.39, -67.30)
CIE-LCHlch(50.33, 76.98, 299.05°)
OKLaboklab(58.69% 0.0301 -0.193)
OKLCHoklch(58.69% 0.195 278.9)
XYZxyz(25.6947, 18.6979, 81.5957)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6867EC #EBEC67
analogous
#67A9EC #6867EC #AB67EC
triadic
#6867EC #EC6867 #67EC68
tetradic
#6867EC #EC67A9 #EBEC67 #67ECAB
square
#6867EC #EC67A9 #EBEC67 #67ECAB
split-complementary
#6867EC #ECAB67 #A9EC67
monochromatic
#1918C1 #3231E5 #6867EC #9E9DF3 #D4D4FA

Accessibility & contrast

On white

4.43
#6867EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6867EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6867EC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6867EC#FFFFFF#000000##000000
##6867EC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#1F86A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6867ec;
/* rgb */ color: rgb(104, 103, 236);
/* oklch */ color: oklch(58.7% 0.195 278.9);
Tailwind
colors: {
  custom: {
    50: '#9e92f3',
    500: '#6867ec',
    950: '#000000',
  },
}
SCSS
$custom: #6867ec;
$custom-light: #9e92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6867ec",
  "rgb": {
    "r": 104,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 240.451,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.1953,
    "h": 278.9
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#6867EC
secondary
#EDEDC2
accent
#DA0BD8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6867EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6867EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva