#666EC7#666EC7

#666EC7 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.4% C 0.136 H 277.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#666EC7
RGBrgb(102, 110, 199)
HSLhsl(235, 46%, 59%)
HSVhsv(235, 49%, 78%)
CMYKcmyk(48.7%, 44.7%, 0%, 22%)
CIE-LABlab(49.62, 21.17, -47.48)
CIE-LCHlch(49.62, 51.98, 294.03°)
OKLaboklab(57.37% 0.0174 -0.1347)
OKLCHoklch(57.37% 0.136 277.3)
XYZxyz(21.3610, 18.0990, 56.3896)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EC7 #C7BF66
analogous
#669FC7 #666EC7 #8F66C7
triadic
#666EC7 #C7666E #6EC766
tetradic
#666EC7 #C7669F #C7BF66 #66C78F
square
#666EC7 #C7669F #C7BF66 #66C78F
split-complementary
#666EC7 #C78F66 #9FC766
monochromatic
#303783 #4049B0 #666EC7 #9398D7 #C0C3E8

Accessibility & contrast

On white

4.55
#666EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#666EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EC7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EC7#FFFFFF#000000##000000
##666EC71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#418191
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #666ec7;
/* rgb */ color: rgb(102, 110, 199);
/* oklch */ color: oklch(57.4% 0.136 277.3);
Tailwind
colors: {
  custom: {
    50: '#9797d8',
    500: '#666ec7',
    950: '#000000',
  },
}
SCSS
$custom: #666ec7;
$custom-light: #9797d8;
$custom-dark: #000000;
JSON
{
  "hex": "#666ec7",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 235.052,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.13583,
    "h": 277.3
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#666EC7
secondary
#D7D4B1
accent
#CB52D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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