#6E71EC#6E71EC

#6E71EC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.181 H 278.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6E71EC
RGBrgb(110, 113, 236)
HSLhsl(239, 77%, 68%)
HSVhsv(239, 53%, 93%)
CMYKcmyk(53.4%, 52.1%, 0%, 7.5%)
CIE-LABlab(53.15, 32.54, -62.73)
CIE-LCHlch(53.15, 70.67, 297.42°)
OKLaboklab(60.9% 0.0268 -0.1793)
OKLCHoklch(60.9% 0.181 278.5)
XYZxyz(27.4711, 21.1796, 81.9811)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E71EC #ECE96E
analogous
#6EB0EC #6E71EC #AA6EEC
triadic
#6E71EC #EC6E71 #71EC6E
tetradic
#6E71EC #EC6EB0 #ECE96E #6EECAA
square
#6E71EC #EC6EB0 #ECE96E #6EECAA
split-complementary
#6E71EC #ECAA6E #B0EC6E
monochromatic
#1A1EC6 #383CE5 #6E71EC #A4A6F3 #DADBFA

Accessibility & contrast

On white

4.01
#6E71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6E71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E71EC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E71EC#FFFFFF#000000##000000
##6E71EC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#167AE9
Tritanopia (blue-blind)
#338DA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6e71ec;
/* rgb */ color: rgb(110, 113, 236);
/* oklch */ color: oklch(60.9% 0.181 278.5);
Tailwind
colors: {
  custom: {
    50: '#a099f3',
    500: '#6e71ec',
    950: '#000000',
  },
}
SCSS
$custom: #6e71ec;
$custom-light: #a099f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e71ec",
  "rgb": {
    "r": 110,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 238.571,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.18129,
    "h": 278.5
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#6E71EC
secondary
#EEEDC7
accent
#D40CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6E71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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