#666BA6#666BA6

#666BA6 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.9% C 0.092 H 279.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#666BA6
RGBrgb(102, 107, 166)
HSLhsl(235, 26%, 53%)
HSVhsv(235, 39%, 65%)
CMYKcmyk(38.6%, 35.5%, 0%, 34.9%)
CIE-LABlab(47.10, 13.12, -32.33)
CIE-LCHlch(47.10, 34.89, 292.09°)
OKLaboklab(54.89% 0.0147 -0.0905)
OKLCHoklch(54.89% 0.092 279.2)
XYZxyz(17.6181, 16.0927, 38.2469)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BA6 #A6A166
analogous
#668BA6 #666BA6 #8166A6
triadic
#666BA6 #A6666B #6BA666
tetradic
#666BA6 #A6668B #A6A166 #66A681
square
#666BA6 #A6668B #A6A166 #66A681
split-complementary
#666BA6 #A68166 #8BA666
monochromatic
#36395C #4C5083 #666BA6 #8D90BD #B3B6D3

Accessibility & contrast

On white

4.98
#666BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#666BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666BA6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BA6#FFFFFF#000000##FFFFFF
##666BA61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#546DA5
Tritanopia (blue-blind)
#537681
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #666ba6;
/* rgb */ color: rgb(102, 107, 166);
/* oklch */ color: oklch(54.9% 0.092 279.2);
Tailwind
colors: {
  custom: {
    50: '#9495c0',
    500: '#666ba6',
    950: '#000000',
  },
}
SCSS
$custom: #666ba6;
$custom-light: #9495c0;
$custom-dark: #000000;
JSON
{
  "hex": "#666ba6",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 166
  },
  "hsl": {
    "h": 235.313,
    "s": 26.446,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.09172,
    "h": 279.2
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#666BA6
secondary
#C2C0A6
accent
#BB65C3
background
#F9F9FB
surface
#F2F1F7
border
#CCCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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