#666FFF#666FFF

#666FFF is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.3% C 0.210 H 275.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#666FFF
RGBrgb(102, 111, 255)
HSLhsl(236, 100%, 70%)
HSVhsv(236, 60%, 100%)
CMYKcmyk(60%, 56.5%, 0%, 0%)
CIE-LABlab(53.40, 38.29, -72.91)
CIE-LCHlch(53.40, 82.35, 297.70°)
OKLaboklab(61.35% 0.0205 -0.2095)
OKLCHoklch(61.35% 0.21 275.6)
XYZxyz(29.2080, 21.4114, 97.1820)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FFF #FFF666
analogous
#66BBFF #666FFF #AA66FF
triadic
#666FFF #FF666F #6FFF66
tetradic
#666FFF #FF66BB #FFF666 #66FFAA
square
#666FFF #FF66BB #FFF666 #66FFAA
split-complementary
#666FFF #FFAA66 #BBFF66
monochromatic
#000EEB #2935FF #666FFF #A3A9FF #E0E2FF

Accessibility & contrast

On white

3.98
#666FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#666FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FFF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FFF#FFFFFF#000000##000000
##666FFF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#0091AC
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #666fff;
/* rgb */ color: rgb(102, 111, 255);
/* oklch */ color: oklch(61.3% 0.210 275.6);
Tailwind
colors: {
  custom: {
    50: '#9f98ff',
    500: '#666fff',
    950: '#000000',
  },
}
SCSS
$custom: #666fff;
$custom-light: #9f98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#666fff",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 255
  },
  "hsl": {
    "h": 236.471,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.21047,
    "h": 275.6
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#666FFF
secondary
#F6F3CB
accent
#D800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #666FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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