#6C71EC#6C71EC

#6C71EC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.182 H 277.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6C71EC
RGBrgb(108, 113, 236)
HSLhsl(238, 77%, 67%)
HSVhsv(238, 54%, 93%)
CMYKcmyk(54.2%, 52.1%, 0%, 7.5%)
CIE-LABlab(53.01, 32.15, -62.96)
CIE-LCHlch(53.01, 70.70, 297.05°)
OKLaboklab(60.76% 0.0246 -0.18)
OKLCHoklch(60.76% 0.182 277.8)
XYZxyz(27.2250, 21.0527, 81.9696)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71EC #ECE76C
analogous
#6CB1EC #6C71EC #A76CEC
triadic
#6C71EC #EC6C71 #71EC6C
tetradic
#6C71EC #EC6CB1 #ECE76C #6CECA7
square
#6C71EC #EC6CB1 #ECE76C #6CECA7
split-complementary
#6C71EC #ECA76C #B1EC6C
monochromatic
#1920C4 #363DE5 #6C71EC #A2A5F3 #D8DAFA

Accessibility & contrast

On white

4.03
#6C71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6C71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71EC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71EC#FFFFFF#000000##000000
##6C71EC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#1279E9
Tritanopia (blue-blind)
#2C8DA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6c71ec;
/* rgb */ color: rgb(108, 113, 236);
/* oklch */ color: oklch(60.8% 0.182 277.8);
Tailwind
colors: {
  custom: {
    50: '#9f99f3',
    500: '#6c71ec',
    950: '#000000',
  },
}
SCSS
$custom: #6c71ec;
$custom-light: #9f99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71ec",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 237.656,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.1817,
    "h": 277.8
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#6C71EC
secondary
#EEECC6
accent
#D10CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6C71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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