#666AFE#666AFE

#666AFE is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.4% C 0.215 H 276.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#666AFE
RGBrgb(102, 106, 254)
HSLhsl(238, 99%, 70%)
HSVhsv(238, 60%, 100%)
CMYKcmyk(59.8%, 58.3%, 0%, 0.4%)
CIE-LABlab(52.16, 40.94, -74.37)
CIE-LCHlch(52.16, 84.89, 298.83°)
OKLaboklab(60.41% 0.0249 -0.2138)
OKLCHoklch(60.41% 0.215 276.6)
XYZxyz(28.5171, 20.2864, 96.1596)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AFE #FEFA66
analogous
#66B6FE #666AFE #AE66FE
triadic
#666AFE #FE666A #6AFE66
tetradic
#666AFE #FE66B6 #FEFA66 #66FEAE
square
#666AFE #FE66B6 #FEFA66 #66FEAE
split-complementary
#666AFE #FEAE66 #B6FE66
monochromatic
#0208E8 #292FFE #666AFE #A3A5FE #E0E0FF

Accessibility & contrast

On white

4.15
#666AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#666AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AFE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AFE#FFFFFF#000000##000000
##666AFE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#008EAA
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666afe;
/* rgb */ color: rgb(102, 106, 254);
/* oklch */ color: oklch(60.4% 0.215 276.6);
Tailwind
colors: {
  custom: {
    50: '#9f94ff',
    500: '#666afe',
    950: '#000000',
  },
}
SCSS
$custom: #666afe;
$custom-light: #9f94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#666afe",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 238.421,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.21524,
    "h": 276.6
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#666AFE
secondary
#F5F4CA
accent
#DF00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #666AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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