#666FA4#666FA4

#666FA4 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.6% C 0.083 H 276.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#666FA4
RGBrgb(102, 111, 164)
HSLhsl(231, 25%, 52%)
HSVhsv(231, 38%, 64%)
CMYKcmyk(37.8%, 32.3%, 0%, 35.7%)
CIE-LABlab(48.10, 10.11, -29.59)
CIE-LCHlch(48.10, 31.27, 288.86°)
OKLaboklab(55.63% 0.0087 -0.0826)
OKLCHoklch(55.63% 0.083 276)
XYZxyz(17.8628, 16.8733, 37.4304)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FA4 #A49B66
analogous
#668EA4 #666FA4 #7C66A4
triadic
#666FA4 #A4666F #6FA466
tetradic
#666FA4 #A4668E #A49B66 #66A47C
square
#666FA4 #A4668E #A49B66 #66A47C
split-complementary
#666FA4 #A47C66 #8EA466
monochromatic
#363B5A #4C5480 #666FA4 #8C93BB #B3B7D2

Accessibility & contrast

On white

4.80
#666FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#666FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666FA4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FA4#FFFFFF#000000##FFFFFF
##666FA41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A6
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#547982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666fa4;
/* rgb */ color: rgb(102, 111, 164);
/* oklch */ color: oklch(55.6% 0.083 276.0);
Tailwind
colors: {
  custom: {
    50: '#9498bf',
    500: '#666fa4',
    950: '#000000',
  },
}
SCSS
$custom: #666fa4;
$custom-light: #9498bf;
$custom-dark: #000000;
JSON
{
  "hex": "#666fa4",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 231.29,
    "s": 25.41,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.08306,
    "h": 276
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#666FA4
secondary
#C0BDA5
accent
#B466C2
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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