#666AF7#666AF7

#666AF7 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 59.9% C 0.206 H 277.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#666AF7
RGBrgb(102, 106, 247)
HSLhsl(238, 90%, 68%)
HSVhsv(238, 59%, 97%)
CMYKcmyk(58.7%, 57.1%, 0%, 3.1%)
CIE-LABlab(51.66, 38.72, -71.29)
CIE-LCHlch(51.66, 81.12, 298.51°)
OKLaboklab(59.88% 0.025 -0.2047)
OKLCHoklch(59.88% 0.206 277)
XYZxyz(27.4166, 19.8462, 90.3636)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AF7 #F7F366
analogous
#66B2F7 #666AF7 #AA66F7
triadic
#666AF7 #F7666A #6AF766
tetradic
#666AF7 #F766B2 #F7F366 #66F7AA
square
#666AF7 #F766B2 #F7F366 #66F7AA
split-complementary
#666AF7 #F7AA66 #B2F766
monochromatic
#0B11D7 #2C31F4 #666AF7 #A0A3FA #DADBFD

Accessibility & contrast

On white

4.23
#666AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#666AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AF7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AF7#FFFFFF#000000##000000
##666AF71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666af7;
/* rgb */ color: rgb(102, 106, 247);
/* oklch */ color: oklch(59.9% 0.206 277.0);
Tailwind
colors: {
  custom: {
    50: '#9e94fb',
    500: '#666af7',
    950: '#000000',
  },
}
SCSS
$custom: #666af7;
$custom-light: #9e94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#666af7",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 238.345,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.20626,
    "h": 277
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#666AF7
secondary
#F2F1C7
accent
#DF00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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