#666AE7#666AE7

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

Color values

HEX#666AE7
RGBrgb(102, 106, 231)
HSLhsl(238, 73%, 65%)
HSVhsv(238, 56%, 91%)
CMYKcmyk(55.8%, 54.1%, 0%, 9.4%)
CIE-LABlab(50.57, 33.64, -64.11)
CIE-LCHlch(50.57, 72.40, 297.69°)
OKLaboklab(58.72% 0.0247 -0.1836)
OKLCHoklch(58.72% 0.185 277.7)
XYZxyz(25.0527, 18.9007, 77.9138)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE7 #E7E366
analogous
#66AAE7 #666AE7 #A366E7
triadic
#666AE7 #E7666A #6AE766
tetradic
#666AE7 #E766AA #E7E366 #66E7A3
square
#666AE7 #E766AA #E7E366 #66E7A3
split-complementary
#666AE7 #E7A366 #AAE766
monochromatic
#1D21B6 #3136DF #666AE7 #9B9EEF #D0D1F8

Accessibility & contrast

On white

4.39
#666AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#666AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE7#FFFFFF#000000##000000
##666AE71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#167EEB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#1E879E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666ae7;
/* rgb */ color: rgb(102, 106, 231);
/* oklch */ color: oklch(58.7% 0.185 277.7);
Tailwind
colors: {
  custom: {
    50: '#9c94ef',
    500: '#666ae7',
    950: '#000000',
  },
}
SCSS
$custom: #666ae7;
$custom-light: #9c94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae7",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 238.14,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.18528,
    "h": 277.7
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#666AE7
secondary
#EAE9BF
accent
#CF11D5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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