#6C6DEC#6C6DEC

#6C6DEC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.187 H 278.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6C6DEC
RGBrgb(108, 109, 236)
HSLhsl(240, 77%, 67%)
HSVhsv(240, 54%, 93%)
CMYKcmyk(54.2%, 53.8%, 0%, 7.5%)
CIE-LABlab(52.04, 34.55, -64.52)
CIE-LCHlch(52.04, 73.19, 298.17°)
OKLaboklab(60.03% 0.0287 -0.1846)
OKLCHoklch(60.03% 0.187 278.8)
XYZxyz(26.7885, 20.1798, 81.8241)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6DEC #ECEB6C
analogous
#6CADEC #6C6DEC #AB6CEC
triadic
#6C6DEC #EC6C6D #6DEC6C
tetradic
#6C6DEC #EC6CAD #ECEB6C #6CECAB
square
#6C6DEC #EC6CAD #ECEB6C #6CECAB
split-complementary
#6C6DEC #ECAB6C #ADEC6C
monochromatic
#191BC4 #3637E5 #6C6DEC #A2A3F3 #D8D9FA

Accessibility & contrast

On white

4.17
#6C6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6C6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C6DEC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6DEC#FFFFFF#000000##000000
##6C6DEC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#2D8AA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c6dec;
/* rgb */ color: rgb(108, 109, 236);
/* oklch */ color: oklch(60.0% 0.187 278.8);
Tailwind
colors: {
  custom: {
    50: '#a097f3',
    500: '#6c6dec',
    950: '#000000',
  },
}
SCSS
$custom: #6c6dec;
$custom-light: #a097f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6dec",
  "rgb": {
    "r": 108,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 239.531,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.18686,
    "h": 278.8
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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