#6666EA#6666EA

#6666EA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.2% C 0.194 H 278.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6666EA
RGBrgb(102, 102, 234)
HSLhsl(240, 76%, 66%)
HSVhsv(240, 56%, 92%)
CMYKcmyk(56.4%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.82, 36.99, -67.01)
CIE-LCHlch(49.82, 76.55, 298.90°)
OKLaboklab(58.23% 0.0287 -0.1922)
OKLCHoklch(58.23% 0.194 278.5)
XYZxyz(25.0774, 18.2663, 80.0302)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6666EA #EAEA66
analogous
#66A8EA #6666EA #A866EA
triadic
#6666EA #EA6666 #66EA66
tetradic
#6666EA #EA66A8 #EAEA66 #66EAA8
square
#6666EA #EA66A8 #EAEA66 #66EAA8
split-complementary
#6666EA #EAA866 #A8EA66
monochromatic
#1A1ABC #3030E3 #6666EA #9C9CF1 #D2D2F9

Accessibility & contrast

On white

4.51
#6666EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6666EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6666EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6666EA#FFFFFF#000000##000000
##6666EA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#19859E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6666ea;
/* rgb */ color: rgb(102, 102, 234);
/* oklch */ color: oklch(58.2% 0.194 278.5);
Tailwind
colors: {
  custom: {
    50: '#9c91f2',
    500: '#6666ea',
    950: '#000000',
  },
}
SCSS
$custom: #6666ea;
$custom-light: #9c91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6666ea",
  "rgb": {
    "r": 102,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.19433,
    "h": 278.5
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#6666EA
secondary
#ECECC0
accent
#D80DD8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6666EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6666EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva