#666AE6#666AE6

#666AE6 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.7% C 0.184 H 277.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#666AE6
RGBrgb(102, 106, 230)
HSLhsl(238, 72%, 65%)
HSVhsv(238, 56%, 90%)
CMYKcmyk(55.7%, 53.9%, 0%, 9.8%)
CIE-LABlab(50.50, 33.32, -63.66)
CIE-LCHlch(50.50, 71.85, 297.63°)
OKLaboklab(58.65% 0.0247 -0.1823)
OKLCHoklch(58.65% 0.184 277.7)
XYZxyz(24.9119, 18.8443, 77.1722)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE6 #E6E266
analogous
#66AAE6 #666AE6 #A266E6
triadic
#666AE6 #E6666A #6AE666
tetradic
#666AE6 #E666AA #E6E266 #66E6A2
square
#666AE6 #E666AA #E6E266 #66E6A2
split-complementary
#666AE6 #E6A266 #AAE666
monochromatic
#1D22B4 #3137DD #666AE6 #9B9DEF #CFD0F7

Accessibility & contrast

On white

4.40
#666AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#666AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE6#FFFFFF#000000##000000
##666AE61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#20879E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666ae6;
/* rgb */ color: rgb(102, 106, 230);
/* oklch */ color: oklch(58.7% 0.184 277.7);
Tailwind
colors: {
  custom: {
    50: '#9c94ef',
    500: '#666ae6',
    950: '#000000',
  },
}
SCSS
$custom: #666ae6;
$custom-light: #9c94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae6",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 238.125,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.18394,
    "h": 277.7
  },
  "luminance": 0.18846
}

Semantic roles & 50–950 ramp

primary
#666AE6
secondary
#EAE8BE
accent
#CE12D4
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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