#666DC7#666DC7

#666DC7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.137 H 277.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#666DC7
RGBrgb(102, 109, 199)
HSLhsl(236, 46%, 59%)
HSVhsv(236, 49%, 78%)
CMYKcmyk(48.7%, 45.2%, 0%, 22%)
CIE-LABlab(49.36, 21.78, -47.90)
CIE-LCHlch(49.36, 52.61, 294.45°)
OKLaboklab(57.18% 0.0185 -0.1359)
OKLCHoklch(57.18% 0.137 277.8)
XYZxyz(21.2537, 17.8844, 56.3539)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DC7 #C7C066
analogous
#669EC7 #666DC7 #9066C7
triadic
#666DC7 #C7666D #6DC766
tetradic
#666DC7 #C7669E #C7C066 #66C790
square
#666DC7 #C7669E #C7C066 #66C790
split-complementary
#666DC7 #C79066 #9EC766
monochromatic
#303683 #4048B0 #666DC7 #9398D7 #C0C3E8

Accessibility & contrast

On white

4.59
#666DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#666DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #666DC7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DC7#FFFFFF#000000##FFFFFF
##666DC71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4879CA
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#418090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #666dc7;
/* rgb */ color: rgb(102, 109, 199);
/* oklch */ color: oklch(57.2% 0.137 277.8);
Tailwind
colors: {
  custom: {
    50: '#9796d8',
    500: '#666dc7',
    950: '#000000',
  },
}
SCSS
$custom: #666dc7;
$custom-light: #9796d8;
$custom-dark: #000000;
JSON
{
  "hex": "#666dc7",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 235.67,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.1372,
    "h": 277.8
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#666DC7
secondary
#D7D5B1
accent
#CD52D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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