#666EE2#666EE2

#666EE2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.173 H 276.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#666EE2
RGBrgb(102, 110, 226)
HSLhsl(236, 68%, 64%)
HSVhsv(236, 55%, 89%)
CMYKcmyk(54.9%, 51.3%, 0%, 11.4%)
CIE-LABlab(51.23, 29.63, -60.24)
CIE-LCHlch(51.23, 67.13, 296.20°)
OKLaboklab(59.11% 0.0203 -0.1722)
OKLCHoklch(59.11% 0.173 276.7)
XYZxyz(24.7785, 19.4660, 74.3884)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EE2 #E2DA66
analogous
#66ACE2 #666EE2 #9C66E2
triadic
#666EE2 #E2666E #6EE266
tetradic
#666EE2 #E266AC #E2DA66 #66E29C
square
#666EE2 #E266AC #E2DA66 #66E29C
split-complementary
#666EE2 #E29C66 #ACE266
monochromatic
#212AAD #333DD8 #666EE2 #999FEC #CDD0F6

Accessibility & contrast

On white

4.29
#666EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#666EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EE2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EE2#FFFFFF#000000##000000
##666EE21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#1975E0
Tritanopia (blue-blind)
#25889E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666ee2;
/* rgb */ color: rgb(102, 110, 226);
/* oklch */ color: oklch(59.1% 0.173 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b97ec',
    500: '#666ee2',
    950: '#000000',
  },
}
SCSS
$custom: #666ee2;
$custom-light: #9b97ec;
$custom-dark: #000000;
JSON
{
  "hex": "#666ee2",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 236.129,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59113,
    "c": 0.17339,
    "h": 276.7
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#666EE2
secondary
#E7E5BC
accent
#C415D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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