#666AE3#666AE3

#666AE3 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.180 H 277.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#666AE3
RGBrgb(102, 106, 227)
HSLhsl(238, 69%, 65%)
HSVhsv(238, 55%, 89%)
CMYKcmyk(55.1%, 53.3%, 0%, 11%)
CIE-LABlab(50.31, 32.38, -62.28)
CIE-LCHlch(50.31, 70.20, 297.47°)
OKLaboklab(58.44% 0.0245 -0.1782)
OKLCHoklch(58.44% 0.18 277.8)
XYZxyz(24.4943, 18.6773, 74.9725)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE3 #E3DF66
analogous
#66A9E3 #666AE3 #A166E3
triadic
#666AE3 #E3666A #6AE366
tetradic
#666AE3 #E366A9 #E3DF66 #66E3A1
square
#666AE3 #E366A9 #E3DF66 #66E3A1
split-complementary
#666AE3 #E3A166 #A9E366
monochromatic
#2025AF #3238DA #666AE3 #9A9CEC #CDCFF6

Accessibility & contrast

On white

4.43
#666AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#666AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE3#FFFFFF#000000##000000
##666AE31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#207DE7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#25869C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666ae3;
/* rgb */ color: rgb(102, 106, 227);
/* oklch */ color: oklch(58.4% 0.180 277.8);
Tailwind
colors: {
  custom: {
    50: '#9b94ec',
    500: '#666ae3',
    950: '#000000',
  },
}
SCSS
$custom: #666ae3;
$custom-light: #9b94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae3",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 238.08,
    "s": 69.061,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.17993,
    "h": 277.8
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#666AE3
secondary
#E8E7BD
accent
#CB14D1
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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