#666AF5#666AF5

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

Color values

HEX#666AF5
RGBrgb(102, 106, 245)
HSLhsl(238, 88%, 68%)
HSVhsv(238, 58%, 96%)
CMYKcmyk(58.4%, 56.7%, 0%, 3.9%)
CIE-LABlab(51.52, 38.08, -70.40)
CIE-LCHlch(51.52, 80.04, 298.41°)
OKLaboklab(59.73% 0.025 -0.2021)
OKLCHoklch(59.73% 0.204 277)
XYZxyz(27.1097, 19.7234, 88.7469)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AF5 #F5F166
analogous
#66B1F5 #666AF5 #AA66F5
triadic
#666AF5 #F5666A #6AF566
tetradic
#666AF5 #F566B1 #F5F166 #66F5AA
square
#666AF5 #F566B1 #F5F166 #66F5AA
split-complementary
#666AF5 #F5AA66 #B1F566
monochromatic
#0E13D3 #2D32F1 #666AF5 #9FA2F9 #D9DAFD

Accessibility & contrast

On white

4.25
#666AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#666AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AF5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AF5#FFFFFF#000000##000000
##666AF51.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666af5;
/* rgb */ color: rgb(102, 106, 245);
/* oklch */ color: oklch(59.7% 0.204 277.0);
Tailwind
colors: {
  custom: {
    50: '#9e94f9',
    500: '#666af5',
    950: '#000000',
  },
}
SCSS
$custom: #666af5;
$custom-light: #9e94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666af5",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 238.322,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.20367,
    "h": 277
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#666AF5
secondary
#F1F0C6
accent
#DE01E4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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