#6E6DEC#6E6DEC

#6E6DEC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.2% C 0.186 H 279.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6E6DEC
RGBrgb(110, 109, 236)
HSLhsl(240, 77%, 68%)
HSVhsv(240, 54%, 93%)
CMYKcmyk(53.4%, 53.8%, 0%, 7.5%)
CIE-LABlab(52.18, 34.94, -64.28)
CIE-LCHlch(52.18, 73.16, 298.52°)
OKLaboklab(60.17% 0.031 -0.1839)
OKLCHoklch(60.17% 0.186 279.6)
XYZxyz(27.0346, 20.3067, 81.8356)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6DEC #EBEC6D
analogous
#6DACEC #6E6DEC #AD6DEC
triadic
#6E6DEC #EC6E6D #6DEC6E
tetradic
#6E6DEC #EC6DAC #EBEC6D #6DECAD
square
#6E6DEC #EC6DAC #EBEC6D #6DECAD
split-complementary
#6E6DEC #ECAD6D #ACEC6D
monochromatic
#1B1AC5 #3837E5 #6E6DEC #A4A3F3 #DAD9FA

Accessibility & contrast

On white

4.15
#6E6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6E6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E6DEC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6DEC#FFFFFF#000000##000000
##6E6DEC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E81F0
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#348AA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6e6dec;
/* rgb */ color: rgb(110, 109, 236);
/* oklch */ color: oklch(60.2% 0.186 279.6);
Tailwind
colors: {
  custom: {
    50: '#a197f3',
    500: '#6e6dec',
    950: '#000000',
  },
}
SCSS
$custom: #6e6dec;
$custom-light: #a197f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6dec",
  "rgb": {
    "r": 110,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 240.472,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.18649,
    "h": 279.6
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#6E6DEC
secondary
#EEEEC7
accent
#D90CD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6E6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

#6E6DEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva