#666AF6#666AF6

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

Color values

HEX#666AF6
RGBrgb(102, 106, 246)
HSLhsl(238, 89%, 68%)
HSVhsv(238, 59%, 96%)
CMYKcmyk(58.5%, 56.9%, 0%, 3.5%)
CIE-LABlab(51.59, 38.40, -70.85)
CIE-LCHlch(51.59, 80.58, 298.46°)
OKLaboklab(59.81% 0.025 -0.2034)
OKLCHoklch(59.81% 0.205 277)
XYZxyz(27.2627, 19.7846, 89.5531)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AF6 #F6F266
analogous
#66B2F6 #666AF6 #AA66F6
triadic
#666AF6 #F6666A #6AF666
tetradic
#666AF6 #F666B2 #F6F266 #66F6AA
square
#666AF6 #F666B2 #F6F266 #66F6AA
split-complementary
#666AF6 #F6AA66 #B2F666
monochromatic
#0D12D5 #2C32F3 #666AF6 #A0A2F9 #DADBFD

Accessibility & contrast

On white

4.24
#666AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#666AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AF6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AF6#FFFFFF#000000##000000
##666AF61.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#008BA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666af6;
/* rgb */ color: rgb(102, 106, 246);
/* oklch */ color: oklch(59.8% 0.205 277.0);
Tailwind
colors: {
  custom: {
    50: '#9e94fa',
    500: '#666af6',
    950: '#000000',
  },
}
SCSS
$custom: #666af6;
$custom-light: #9e94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#666af6",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 238.333,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.20497,
    "h": 277
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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