#666AFA#666AFA

#666AFA is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.1% C 0.210 H 276.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#666AFA
RGBrgb(102, 106, 250)
HSLhsl(238, 94%, 69%)
HSVhsv(238, 59%, 98%)
CMYKcmyk(59.2%, 57.6%, 0%, 2%)
CIE-LABlab(51.87, 39.67, -72.61)
CIE-LCHlch(51.87, 82.74, 298.65°)
OKLaboklab(60.11% 0.025 -0.2086)
OKLCHoklch(60.11% 0.21 276.8)
XYZxyz(27.8833, 20.0329, 92.8213)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AFA #FAF666
analogous
#66B4FA #666AFA #AC66FA
triadic
#666AFA #FA666A #6AFA66
tetradic
#666AFA #FA66B4 #FAF666 #66FAAC
square
#666AFA #FA66B4 #FAF666 #66FAAC
split-complementary
#666AFA #FAAC66 #B4FA66
monochromatic
#070DDE #2B30F8 #666AFA #A1A4FC #DDDDFE

Accessibility & contrast

On white

4.19
#666AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#666AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AFA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AFA#FFFFFF#000000##000000
##666AFA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0075F7
Tritanopia (blue-blind)
#008DA8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666afa;
/* rgb */ color: rgb(102, 106, 250);
/* oklch */ color: oklch(60.1% 0.210 276.8);
Tailwind
colors: {
  custom: {
    50: '#9f94fd',
    500: '#666afa',
    950: '#000000',
  },
}
SCSS
$custom: #666afa;
$custom-light: #9f94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#666afa",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 238.378,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.21012,
    "h": 276.8
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#666AFA
secondary
#F4F2C8
accent
#DF00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #666AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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