#666EC8#666EC8

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

Color values

HEX#666EC8
RGBrgb(102, 110, 200)
HSLhsl(235, 47%, 59%)
HSVhsv(235, 49%, 78%)
CMYKcmyk(49%, 45%, 0%, 21.6%)
CIE-LABlab(49.67, 21.48, -47.96)
CIE-LCHlch(49.67, 52.55, 294.12°)
OKLaboklab(57.44% 0.0175 -0.1361)
OKLCHoklch(57.44% 0.137 277.3)
XYZxyz(21.4775, 18.1456, 57.0031)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EC8 #C8C066
analogous
#669FC8 #666EC8 #8F66C8
triadic
#666EC8 #C8666E #6EC866
tetradic
#666EC8 #C8669F #C8C066 #66C88F
square
#666EC8 #C8669F #C8C066 #66C88F
split-complementary
#666EC8 #C88F66 #9FC866
monochromatic
#2F3684 #4049B1 #666EC8 #9399D8 #C0C3E8

Accessibility & contrast

On white

4.54
#666EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#666EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EC8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EC8#FFFFFF#000000##000000
##666EC81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#408191
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #666ec8;
/* rgb */ color: rgb(102, 110, 200);
/* oklch */ color: oklch(57.4% 0.137 277.3);
Tailwind
colors: {
  custom: {
    50: '#9797d9',
    500: '#666ec8',
    950: '#000000',
  },
}
SCSS
$custom: #666ec8;
$custom-light: #9797d9;
$custom-dark: #000000;
JSON
{
  "hex": "#666ec8",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 235.102,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.13725,
    "h": 277.3
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#666EC8
secondary
#D8D5B2
accent
#CC51D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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