#666FE7#666FE7

#666FE7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.179 H 276.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#666FE7
RGBrgb(102, 111, 231)
HSLhsl(236, 73%, 65%)
HSVhsv(236, 56%, 91%)
CMYKcmyk(55.8%, 51.9%, 0%, 9.4%)
CIE-LABlab(51.79, 30.62, -62.14)
CIE-LCHlch(51.79, 69.27, 296.23°)
OKLaboklab(59.64% 0.0196 -0.1778)
OKLCHoklch(59.64% 0.179 276.3)
XYZxyz(25.5831, 19.9614, 78.0906)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE7 #E7DE66
analogous
#66AFE7 #666FE7 #9D66E7
triadic
#666FE7 #E7666F #6FE766
tetradic
#666FE7 #E766AF #E7DE66 #66E79D
square
#666FE7 #E766AF #E7DE66 #66E79D
split-complementary
#666FE7 #E79D66 #AFE766
monochromatic
#1D27B6 #313DDF #666FE7 #9BA1EF #D0D3F8

Accessibility & contrast

On white

4.21
#666FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#666FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FE7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FE7#FFFFFF#000000##000000
##666FE71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#0B76E4
Tritanopia (blue-blind)
#1C8AA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666fe7;
/* rgb */ color: rgb(102, 111, 231);
/* oklch */ color: oklch(59.6% 0.179 276.3);
Tailwind
colors: {
  custom: {
    50: '#9b98ef',
    500: '#666fe7',
    950: '#000000',
  },
}
SCSS
$custom: #666fe7;
$custom-light: #9b98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe7",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 235.814,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59639,
    "c": 0.17885,
    "h": 276.3
  },
  "luminance": 0.19963
}

Semantic roles & 50–950 ramp

primary
#666FE7
secondary
#EAE7BF
accent
#C711D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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