#666AA2#666AA2

#666AA2 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.5% C 0.087 H 280.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#666AA2
RGBrgb(102, 106, 162)
HSLhsl(236, 24%, 52%)
HSVhsv(236, 37%, 64%)
CMYKcmyk(37%, 34.6%, 0%, 36.5%)
CIE-LABlab(46.63, 12.59, -30.70)
CIE-LCHlch(46.63, 33.19, 292.29°)
OKLaboklab(54.47% 0.0151 -0.0858)
OKLCHoklch(54.47% 0.087 280)
XYZxyz(17.1533, 15.7409, 36.3099)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AA2 #A29E66
analogous
#6688A2 #666AA2 #8066A2
triadic
#666AA2 #A2666A #6AA266
tetradic
#666AA2 #A26688 #A29E66 #66A280
square
#666AA2 #A26688 #A29E66 #66A280
split-complementary
#666AA2 #A28066 #88A266
monochromatic
#363858 #4D507E #666AA2 #8C8FB9 #B2B4D0

Accessibility & contrast

On white

5.06
#666AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#666AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666AA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AA2#FFFFFF#000000##FFFFFF
##666AA21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#556CA1
Tritanopia (blue-blind)
#55757E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #666aa2;
/* rgb */ color: rgb(102, 106, 162);
/* oklch */ color: oklch(54.5% 0.087 280.0);
Tailwind
colors: {
  custom: {
    50: '#9494be',
    500: '#666aa2',
    950: '#000000',
  },
}
SCSS
$custom: #666aa2;
$custom-light: #9494be;
$custom-dark: #000000;
JSON
{
  "hex": "#666aa2",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 236,
    "s": 24.39,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.08715,
    "h": 280
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#666AA2
secondary
#BFBDA5
accent
#BB67C1
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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