#666DC2#666DC2

#666DC2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.130 H 277.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#666DC2
RGBrgb(102, 109, 194)
HSLhsl(235, 43%, 58%)
HSVhsv(235, 47%, 76%)
CMYKcmyk(47.4%, 43.8%, 0%, 23.9%)
CIE-LABlab(49.08, 20.24, -45.47)
CIE-LCHlch(49.08, 49.77, 294.00°)
OKLaboklab(56.87% 0.0178 -0.1288)
OKLCHoklch(56.87% 0.13 277.9)
XYZxyz(20.6827, 17.6560, 53.3466)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DC2 #C2BB66
analogous
#669BC2 #666DC2 #8D66C2
triadic
#666DC2 #C2666D #6DC266
tetradic
#666DC2 #C2669B #C2BB66 #66C28D
square
#666DC2 #C2669B #C2BB66 #66C28D
split-complementary
#666DC2 #C28D66 #9BC266
monochromatic
#31377C #434BA8 #666DC2 #9297D3 #BEC1E5

Accessibility & contrast

On white

4.63
#666DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#666DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #666DC2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DC2#FFFFFF#000000##FFFFFF
##666DC21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#447F8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #666dc2;
/* rgb */ color: rgb(102, 109, 194);
/* oklch */ color: oklch(56.9% 0.130 277.9);
Tailwind
colors: {
  custom: {
    50: '#9796d5',
    500: '#666dc2',
    950: '#000000',
  },
}
SCSS
$custom: #666dc2;
$custom-light: #9796d5;
$custom-dark: #000000;
JSON
{
  "hex": "#666dc2",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 235.435,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.13005,
    "h": 277.9
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#666DC2
secondary
#D4D1B0
accent
#C955D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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