#666AFB#666AFB

#666AFB is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.2% C 0.211 H 276.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#666AFB
RGBrgb(102, 106, 251)
HSLhsl(238, 95%, 69%)
HSVhsv(238, 59%, 98%)
CMYKcmyk(59.4%, 57.8%, 0%, 1.6%)
CIE-LABlab(51.95, 39.99, -73.05)
CIE-LCHlch(51.95, 83.28, 298.69°)
OKLaboklab(60.18% 0.025 -0.2099)
OKLCHoklch(60.18% 0.211 276.8)
XYZxyz(28.0405, 20.0958, 93.6493)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AFB #FBF766
analogous
#66B5FB #666AFB #AD66FB
triadic
#666AFB #FB666A #6AFB66
tetradic
#666AFB #FB66B5 #FBF766 #66FBAD
square
#666AFB #FB66B5 #FBF766 #66FBAD
split-complementary
#666AFB #FBAD66 #B5FB66
monochromatic
#060CE1 #2A30F9 #666AFB #A2A4FD #DDDEFE

Accessibility & contrast

On white

4.18
#666AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#666AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AFB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AFB#FFFFFF#000000##000000
##666AFB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666afb;
/* rgb */ color: rgb(102, 106, 251);
/* oklch */ color: oklch(60.2% 0.211 276.8);
Tailwind
colors: {
  custom: {
    50: '#9f94fe',
    500: '#666afb',
    950: '#000000',
  },
}
SCSS
$custom: #666afb;
$custom-light: #9f94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#666afb",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 238.389,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.21141,
    "h": 276.8
  },
  "luminance": 0.20098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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