#666AA5#666AA5

#666AA5 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.6% C 0.092 H 279.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#666AA5
RGBrgb(102, 106, 165)
HSLhsl(236, 26%, 52%)
HSVhsv(236, 38%, 65%)
CMYKcmyk(38.2%, 35.8%, 0%, 35.3%)
CIE-LABlab(46.78, 13.45, -32.24)
CIE-LCHlch(46.78, 34.94, 292.64°)
OKLaboklab(54.62% 0.0158 -0.0903)
OKLCHoklch(54.62% 0.092 279.9)
XYZxyz(17.4231, 15.8488, 37.7311)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AA5 #A5A166
analogous
#668AA5 #666AA5 #8166A5
triadic
#666AA5 #A5666A #6AA566
tetradic
#666AA5 #A5668A #A5A166 #66A581
square
#666AA5 #A5668A #A5A166 #66A581
split-complementary
#666AA5 #A58166 #8AA566
monochromatic
#36385B #4C5082 #666AA5 #8D90BC #B3B5D2

Accessibility & contrast

On white

5.04
#666AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#666AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666AA5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AA5#FFFFFF#000000##FFFFFF
##666AA51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A7
Deuteranopia (green-blind)
#536DA4
Tritanopia (blue-blind)
#547580
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #666aa5;
/* rgb */ color: rgb(102, 106, 165);
/* oklch */ color: oklch(54.6% 0.092 279.9);
Tailwind
colors: {
  custom: {
    50: '#9494c0',
    500: '#666aa5',
    950: '#000000',
  },
}
SCSS
$custom: #666aa5;
$custom-light: #9494c0;
$custom-dark: #000000;
JSON
{
  "hex": "#666aa5",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 165
  },
  "hsl": {
    "h": 236.19,
    "s": 25.926,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.09167,
    "h": 279.9
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#666AA5
secondary
#C1BFA6
accent
#BC65C2
background
#F9F9FB
surface
#F2F1F7
border
#CCCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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