#666FE6#666FE6

#666FE6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.6% C 0.177 H 276.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#666FE6
RGBrgb(102, 111, 230)
HSLhsl(236, 72%, 65%)
HSVhsv(236, 56%, 90%)
CMYKcmyk(55.7%, 51.7%, 0%, 9.8%)
CIE-LABlab(51.73, 30.30, -61.68)
CIE-LCHlch(51.73, 68.72, 296.16°)
OKLaboklab(59.57% 0.0196 -0.1764)
OKLCHoklch(59.57% 0.178 276.3)
XYZxyz(25.4423, 19.9051, 77.3489)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE6 #E6DD66
analogous
#66AFE6 #666FE6 #9D66E6
triadic
#666FE6 #E6666F #6FE666
tetradic
#666FE6 #E666AF #E6DD66 #66E69D
square
#666FE6 #E666AF #E6DD66 #66E69D
split-complementary
#666FE6 #E69D66 #AFE666
monochromatic
#1D28B4 #313DDD #666FE6 #9BA1EF #CFD2F7

Accessibility & contrast

On white

4.22
#666FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#666FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FE6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FE6#FFFFFF#000000##000000
##666FE61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EA
Deuteranopia (green-blind)
#1076E3
Tritanopia (blue-blind)
#1E8AA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666fe6;
/* rgb */ color: rgb(102, 111, 230);
/* oklch */ color: oklch(59.6% 0.177 276.3);
Tailwind
colors: {
  custom: {
    50: '#9b98ef',
    500: '#666fe6',
    950: '#000000',
  },
}
SCSS
$custom: #666fe6;
$custom-light: #9b98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe6",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 235.781,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.1775,
    "h": 276.3
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#666FE6
secondary
#EAE7BE
accent
#C612D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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