#666ACC#666ACC

#666ACC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.9% C 0.148 H 278.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#666ACC
RGBrgb(102, 106, 204)
HSLhsl(238, 50%, 60%)
HSVhsv(238, 50%, 80%)
CMYKcmyk(50%, 48%, 0%, 20%)
CIE-LABlab(48.87, 25.16, -51.53)
CIE-LCHlch(48.87, 57.35, 296.03°)
OKLaboklab(56.9% 0.0227 -0.1466)
OKLCHoklch(56.9% 0.148 278.8)
XYZxyz(21.5292, 17.4913, 59.3567)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666ACC #CCC866
analogous
#669DCC #666ACC #9566CC
triadic
#666ACC #CC666A #6ACC66
tetradic
#666ACC #CC669D #CCC866 #66CC95
square
#666ACC #CC669D #CCC866 #66CC95
split-complementary
#666ACC #CC9566 #9DCC66
monochromatic
#2E328A #3D42B8 #666ACC #9497DB #C2C3EB

Accessibility & contrast

On white

4.67
#666ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#666ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #666ACC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666ACC#FFFFFF#000000##FFFFFF
##666ACC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#3E7F91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #666acc;
/* rgb */ color: rgb(102, 106, 204);
/* oklch */ color: oklch(56.9% 0.148 278.8);
Tailwind
colors: {
  custom: {
    50: '#9894dc',
    500: '#666acc',
    950: '#000000',
  },
}
SCSS
$custom: #666acc;
$custom-light: #9894dc;
$custom-dark: #000000;
JSON
{
  "hex": "#666acc",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 237.647,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.14838,
    "h": 278.8
  },
  "luminance": 0.17492
}

Semantic roles & 50–950 ramp

primary
#666ACC
secondary
#DBD9B3
accent
#D44EDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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