#666AF0#666AF0

#666AF0 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.4% C 0.197 H 277.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#666AF0
RGBrgb(102, 106, 240)
HSLhsl(238, 82%, 67%)
HSVhsv(238, 58%, 94%)
CMYKcmyk(57.5%, 55.8%, 0%, 5.9%)
CIE-LABlab(51.18, 36.49, -68.17)
CIE-LCHlch(51.18, 77.33, 298.16°)
OKLaboklab(59.37% 0.0249 -0.1956)
OKLCHoklch(59.37% 0.197 277.3)
XYZxyz(26.3567, 19.4222, 84.7812)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AF0 #F0EC66
analogous
#66AFF0 #666AF0 #A766F0
triadic
#666AF0 #F0666A #6AF066
tetradic
#666AF0 #F066AF #F0EC66 #66F0A7
square
#666AF0 #F066AF #F0EC66 #66F0A7
split-complementary
#666AF0 #F0A766 #AFF066
monochromatic
#1419C8 #2E34EB #666AF0 #9EA0F5 #D5D7FB

Accessibility & contrast

On white

4.30
#666AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#666AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AF0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AF0#FFFFFF#000000##000000
##666AF01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666af0;
/* rgb */ color: rgb(102, 106, 240);
/* oklch */ color: oklch(59.4% 0.197 277.3);
Tailwind
colors: {
  custom: {
    50: '#9d94f6',
    500: '#666af0',
    950: '#000000',
  },
}
SCSS
$custom: #666af0;
$custom-light: #9d94f6;
$custom-dark: #000000;
JSON
{
  "hex": "#666af0",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 238.261,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.19715,
    "h": 277.3
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#666AF0
secondary
#EFEEC3
accent
#D807DF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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