#666EE7#666EE7

#666EE7 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.180 H 276.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#666EE7
RGBrgb(102, 110, 231)
HSLhsl(236, 73%, 65%)
HSVhsv(236, 56%, 91%)
CMYKcmyk(55.8%, 52.4%, 0%, 9.4%)
CIE-LABlab(51.55, 31.22, -62.54)
CIE-LCHlch(51.55, 69.90, 296.53°)
OKLaboklab(59.45% 0.0207 -0.1789)
OKLCHoklch(59.45% 0.18 276.6)
XYZxyz(25.4746, 19.7444, 78.0545)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EE7 #E7DF66
analogous
#66AEE7 #666EE7 #9E66E7
triadic
#666EE7 #E7666E #6EE766
tetradic
#666EE7 #E766AE #E7DF66 #66E79E
square
#666EE7 #E766AE #E7DF66 #66E79E
split-complementary
#666EE7 #E79E66 #AEE766
monochromatic
#1D26B6 #313CDF #666EE7 #9BA0EF #D0D2F8

Accessibility & contrast

On white

4.24
#666EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#666EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EE7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EE7#FFFFFF#000000##000000
##666EE71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#0376E4
Tritanopia (blue-blind)
#1D8AA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666ee7;
/* rgb */ color: rgb(102, 110, 231);
/* oklch */ color: oklch(59.5% 0.180 276.6);
Tailwind
colors: {
  custom: {
    50: '#9b97ef',
    500: '#666ee7',
    950: '#000000',
  },
}
SCSS
$custom: #666ee7;
$custom-light: #9b97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#666ee7",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 236.279,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.18014,
    "h": 276.6
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

primary
#666EE7
secondary
#EAE7BF
accent
#C911D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666EE7

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

Preview Lab → · Contrast checker → · Palette generator →

#666EE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva