#6C6EEA#6C6EEA

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

Color values

HEX#6C6EEA
RGBrgb(108, 110, 234)
HSLhsl(239, 75%, 67%)
HSVhsv(239, 54%, 92%)
CMYKcmyk(53.8%, 53%, 0%, 8.2%)
CIE-LABlab(52.15, 33.33, -63.22)
CIE-LCHlch(52.15, 71.47, 297.80°)
OKLaboklab(60.07% 0.0276 -0.1808)
OKLCHoklch(60.07% 0.183 278.7)
XYZxyz(26.6069, 20.2788, 80.3381)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6EEA #EAE86C
analogous
#6CADEA #6C6EEA #A96CEA
triadic
#6C6EEA #EA6C6E #6EEA6C
tetradic
#6C6EEA #EA6CAD #EAE86C #6CEAA9
square
#6C6EEA #EA6CAD #EAE86C #6CEAA9
split-complementary
#6C6EEA #EAA96C #ADEA6C
monochromatic
#1B1EC0 #3639E2 #6C6EEA #A2A3F2 #D7D8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C6EEA#FFFFFF#000000##000000
##6C6EEA1.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)
#2582EE
Deuteranopia (green-blind)
#0677E7
Tritanopia (blue-blind)
#308AA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c6eea;
/* rgb */ color: rgb(108, 110, 234);
/* oklch */ color: oklch(60.1% 0.183 278.7);
Tailwind
colors: {
  custom: {
    50: '#9f97f1',
    500: '#6c6eea',
    950: '#000000',
  },
}
SCSS
$custom: #6c6eea;
$custom-light: #9f97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6eea",
  "rgb": {
    "r": 108,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 239.048,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60074,
    "c": 0.18291,
    "h": 278.7
  },
  "luminance": 0.20281
}

Semantic roles & 50–950 ramp

primary
#6C6EEA
secondary
#EDECC5
accent
#D40ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6C6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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