#666AF4#666AF4

#666AF4 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.7% C 0.202 H 277.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#666AF4
RGBrgb(102, 106, 244)
HSLhsl(238, 87%, 68%)
HSVhsv(238, 58%, 96%)
CMYKcmyk(58.2%, 56.6%, 0%, 4.3%)
CIE-LABlab(51.45, 37.76, -69.96)
CIE-LCHlch(51.45, 79.50, 298.36°)
OKLaboklab(59.66% 0.025 -0.2008)
OKLCHoklch(59.66% 0.202 277.1)
XYZxyz(26.9574, 19.6625, 87.9451)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AF4 #F4F066
analogous
#66B1F4 #666AF4 #A966F4
triadic
#666AF4 #F4666A #6AF466
tetradic
#666AF4 #F466B1 #F4F066 #66F4A9
square
#666AF4 #F466B1 #F4F066 #66F4A9
split-complementary
#666AF4 #F4A966 #B1F466
monochromatic
#0F14D1 #2D32F0 #666AF4 #9FA2F8 #D8D9FC

Accessibility & contrast

On white

4.26
#666AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#666AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AF4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AF4#FFFFFF#000000##000000
##666AF41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#008BA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666af4;
/* rgb */ color: rgb(102, 106, 244);
/* oklch */ color: oklch(59.7% 0.202 277.1);
Tailwind
colors: {
  custom: {
    50: '#9e94f9',
    500: '#666af4',
    950: '#000000',
  },
}
SCSS
$custom: #666af4;
$custom-light: #9e94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666af4",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 244
  },
  "hsl": {
    "h": 238.31,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.20237,
    "h": 277.1
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#666AF4
secondary
#F1F0C5
accent
#DD02E3
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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