#666DE7#666DE7

#666DE7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.181 H 276.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#666DE7
RGBrgb(102, 109, 231)
HSLhsl(237, 73%, 65%)
HSVhsv(237, 56%, 91%)
CMYKcmyk(55.8%, 52.8%, 0%, 9.4%)
CIE-LABlab(51.30, 31.83, -62.93)
CIE-LCHlch(51.30, 70.52, 296.83°)
OKLaboklab(59.27% 0.0217 -0.1801)
OKLCHoklch(59.27% 0.181 276.9)
XYZxyz(25.3673, 19.5298, 78.0187)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DE7 #E7E066
analogous
#66AEE7 #666DE7 #9F66E7
triadic
#666DE7 #E7666D #6DE766
tetradic
#666DE7 #E766AE #E7E066 #66E79F
square
#666DE7 #E766AE #E7E066 #66E79F
split-complementary
#666DE7 #E79F66 #AEE766
monochromatic
#1D25B6 #313BDF #666DE7 #9B9FEF #D0D2F8

Accessibility & contrast

On white

4.28
#666DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#666DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DE7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DE7#FFFFFF#000000##000000
##666DE71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2480EB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#1D89A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666de7;
/* rgb */ color: rgb(102, 109, 231);
/* oklch */ color: oklch(59.3% 0.181 276.9);
Tailwind
colors: {
  custom: {
    50: '#9c96ef',
    500: '#666de7',
    950: '#000000',
  },
}
SCSS
$custom: #666de7;
$custom-light: #9c96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#666de7",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 236.744,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.18142,
    "h": 276.9
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#666DE7
secondary
#EAE8BF
accent
#CA11D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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