#666FE1#666FE1

#666FE1 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.171 H 276.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#666FE1
RGBrgb(102, 111, 225)
HSLhsl(236, 67%, 64%)
HSVhsv(236, 55%, 88%)
CMYKcmyk(54.7%, 50.7%, 0%, 11.8%)
CIE-LABlab(51.41, 28.71, -59.38)
CIE-LCHlch(51.41, 65.95, 295.81°)
OKLaboklab(59.23% 0.0192 -0.1696)
OKLCHoklch(59.23% 0.171 276.5)
XYZxyz(24.7502, 19.6282, 73.7040)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE1 #E1D866
analogous
#66ADE1 #666FE1 #9B66E1
triadic
#666FE1 #E1666F #6FE166
tetradic
#666FE1 #E166AD #E1D866 #66E19B
square
#666FE1 #E166AD #E1D866 #66E19B
split-complementary
#666FE1 #E19B66 #ADE166
monochromatic
#222CAB #333FD7 #666FE1 #999FEB #CCCFF5

Accessibility & contrast

On white

4.26
#666FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#666FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FE1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FE1#FFFFFF#000000##000000
##666FE11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E5
Deuteranopia (green-blind)
#1F76DF
Tritanopia (blue-blind)
#27899D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666fe1;
/* rgb */ color: rgb(102, 111, 225);
/* oklch */ color: oklch(59.2% 0.171 276.5);
Tailwind
colors: {
  custom: {
    50: '#9b98eb',
    500: '#666fe1',
    950: '#000000',
  },
}
SCSS
$custom: #666fe1;
$custom-light: #9b98eb;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe1",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 225
  },
  "hsl": {
    "h": 235.61,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.17072,
    "h": 276.5
  },
  "luminance": 0.1963
}

Semantic roles & 50–950 ramp

primary
#666FE1
secondary
#E7E4BC
accent
#C216CF
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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