#666ECA#666ECA

#666ECA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.6% C 0.140 H 277.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#666ECA
RGBrgb(102, 110, 202)
HSLhsl(235, 49%, 60%)
HSVhsv(235, 50%, 79%)
CMYKcmyk(49.5%, 45.5%, 0%, 20.8%)
CIE-LABlab(49.79, 22.09, -48.93)
CIE-LCHlch(49.79, 53.69, 294.30°)
OKLaboklab(57.56% 0.0178 -0.139)
OKLCHoklch(57.56% 0.14 277.3)
XYZxyz(21.7128, 18.2397, 58.2422)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666ECA #CAC266
analogous
#66A0CA #666ECA #9066CA
triadic
#666ECA #CA666E #6ECA66
tetradic
#666ECA #CA66A0 #CAC266 #66CA90
square
#666ECA #CA66A0 #CAC266 #66CA90
split-complementary
#666ECA #CA9066 #A0CA66
monochromatic
#2F3687 #3E48B4 #666ECA #9399DA #C1C4E9

Accessibility & contrast

On white

4.52
#666ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#666ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666ECA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666ECA#FFFFFF#000000##000000
##666ECA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCD
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#3F8292
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #666eca;
/* rgb */ color: rgb(102, 110, 202);
/* oklch */ color: oklch(57.6% 0.140 277.3);
Tailwind
colors: {
  custom: {
    50: '#9897da',
    500: '#666eca',
    950: '#000000',
  },
}
SCSS
$custom: #666eca;
$custom-light: #9897da;
$custom-dark: #000000;
JSON
{
  "hex": "#666eca",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 235.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.14009,
    "h": 277.3
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#666ECA
secondary
#D9D6B2
accent
#CD50D8
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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