#6C6CEC#6C6CEC

#6C6CEC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.9% C 0.188 H 279.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6C6CEC
RGBrgb(108, 108, 236)
HSLhsl(240, 77%, 67%)
HSVhsv(240, 54%, 93%)
CMYKcmyk(54.2%, 54.2%, 0%, 7.5%)
CIE-LABlab(51.80, 35.15, -64.91)
CIE-LCHlch(51.80, 73.81, 298.43°)
OKLaboklab(59.85% 0.0297 -0.1858)
OKLCHoklch(59.85% 0.188 279.1)
XYZxyz(26.6825, 19.9677, 81.7887)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6CEC #ECEC6C
analogous
#6CACEC #6C6CEC #AC6CEC
triadic
#6C6CEC #EC6C6C #6CEC6C
tetradic
#6C6CEC #EC6CAC #ECEC6C #6CECAC
square
#6C6CEC #EC6CAC #ECEC6C #6CECAC
split-complementary
#6C6CEC #ECAC6C #ACEC6C
monochromatic
#1919C4 #3636E5 #6C6CEC #A2A2F3 #D8D8FA

Accessibility & contrast

On white

4.21
#6C6CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6C6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C6CEC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6CEC#FFFFFF#000000##000000
##6C6CEC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#2E89A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c6cec;
/* rgb */ color: rgb(108, 108, 236);
/* oklch */ color: oklch(59.9% 0.188 279.1);
Tailwind
colors: {
  custom: {
    50: '#a096f3',
    500: '#6c6cec',
    950: '#000000',
  },
}
SCSS
$custom: #6c6cec;
$custom-light: #a096f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6cec",
  "rgb": {
    "r": 108,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59853,
    "c": 0.18815,
    "h": 279.1
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#6C6CEC
secondary
#EEEEC6
accent
#D90CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6C6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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