#666AEA#666AEA

#666AEA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.9% C 0.189 H 277.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#666AEA
RGBrgb(102, 106, 234)
HSLhsl(238, 76%, 66%)
HSVhsv(238, 56%, 92%)
CMYKcmyk(56.4%, 54.7%, 0%, 8.2%)
CIE-LABlab(50.77, 34.59, -65.47)
CIE-LCHlch(50.77, 74.05, 297.85°)
OKLaboklab(58.94% 0.0248 -0.1876)
OKLCHoklch(58.94% 0.189 277.5)
XYZxyz(25.4801, 19.0716, 80.1644)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AEA #EAE666
analogous
#66ACEA #666AEA #A466EA
triadic
#666AEA #EA666A #6AEA66
tetradic
#666AEA #EA66AC #EAE666 #66EAA4
square
#666AEA #EA66AC #EAE666 #66EAA4
split-complementary
#666AEA #EAA466 #ACEA66
monochromatic
#1A1FBC #3036E3 #666AEA #9C9EF1 #D2D3F9

Accessibility & contrast

On white

4.36
#666AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#666AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AEA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AEA#FFFFFF#000000##000000
##666AEA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7EEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#1788A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666aea;
/* rgb */ color: rgb(102, 106, 234);
/* oklch */ color: oklch(58.9% 0.189 277.5);
Tailwind
colors: {
  custom: {
    50: '#9c94f1',
    500: '#666aea',
    950: '#000000',
  },
}
SCSS
$custom: #666aea;
$custom-light: #9c94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#666aea",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 238.182,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.18926,
    "h": 277.5
  },
  "luminance": 0.19073
}

Semantic roles & 50–950 ramp

primary
#666AEA
secondary
#ECEAC0
accent
#D20DD8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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