#666FA7#666FA7

#666FA7 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 55.8% C 0.088 H 276.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#666FA7
RGBrgb(102, 111, 167)
HSLhsl(232, 27%, 53%)
HSVhsv(232, 39%, 65%)
CMYKcmyk(38.9%, 33.5%, 0%, 34.5%)
CIE-LABlab(48.24, 10.97, -31.13)
CIE-LCHlch(48.24, 33.00, 289.41°)
OKLaboklab(55.78% 0.0095 -0.0871)
OKLCHoklch(55.78% 0.088 276.2)
XYZxyz(18.1369, 16.9829, 38.8741)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FA7 #A79E66
analogous
#6690A7 #666FA7 #7D66A7
triadic
#666FA7 #A7666F #6FA766
tetradic
#666FA7 #A76690 #A79E66 #66A77D
square
#666FA7 #A76690 #A79E66 #66A77D
split-complementary
#666FA7 #A77D66 #90A766
monochromatic
#363B5D #4C5484 #666FA7 #8D94BD #B4B8D4

Accessibility & contrast

On white

4.78
#666FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#666FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666FA7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FA7#FFFFFF#000000##FFFFFF
##666FA71.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A9
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#537A83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666fa7;
/* rgb */ color: rgb(102, 111, 167);
/* oklch */ color: oklch(55.8% 0.088 276.2);
Tailwind
colors: {
  custom: {
    50: '#9498c1',
    500: '#666fa7',
    950: '#000000',
  },
}
SCSS
$custom: #666fa7;
$custom-light: #9498c1;
$custom-dark: #000000;
JSON
{
  "hex": "#666fa7",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 231.692,
    "s": 26.971,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.08757,
    "h": 276.2
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#666FA7
secondary
#C2BFA6
accent
#B664C3
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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