#666FE8#666FE8

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

Color values

HEX#666FE8
RGBrgb(102, 111, 232)
HSLhsl(236, 74%, 65%)
HSVhsv(236, 56%, 91%)
CMYKcmyk(56%, 52.2%, 0%, 9%)
CIE-LABlab(51.86, 30.94, -62.60)
CIE-LCHlch(51.86, 69.82, 296.30°)
OKLaboklab(59.71% 0.0197 -0.1791)
OKLCHoklch(59.71% 0.18 276.3)
XYZxyz(25.7247, 20.0180, 78.8366)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE8 #E8DF66
analogous
#66B0E8 #666FE8 #9E66E8
triadic
#666FE8 #E8666F #6FE866
tetradic
#666FE8 #E866B0 #E8DF66 #66E89E
square
#666FE8 #E866B0 #E8DF66 #66E89E
split-complementary
#666FE8 #E89E66 #B0E866
monochromatic
#1C26B8 #313DE0 #666FE8 #9BA1F0 #D0D3F8

Accessibility & contrast

On white

4.20
#666FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#666FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FE8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FE8#FFFFFF#000000##000000
##666FE81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EC
Deuteranopia (green-blind)
#0576E5
Tritanopia (blue-blind)
#1A8BA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666fe8;
/* rgb */ color: rgb(102, 111, 232);
/* oklch */ color: oklch(59.7% 0.180 276.3);
Tailwind
colors: {
  custom: {
    50: '#9c98f0',
    500: '#666fe8',
    950: '#000000',
  },
}
SCSS
$custom: #666fe8;
$custom-light: #9c98f0;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe8",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 235.846,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.1802,
    "h": 276.3
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#666FE8
secondary
#EBE8BF
accent
#C810D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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