#666EA7#666EA7

#666EA7 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.6% C 0.089 H 277.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#666EA7
RGBrgb(102, 110, 167)
HSLhsl(233, 27%, 53%)
HSVhsv(233, 39%, 65%)
CMYKcmyk(38.9%, 34.1%, 0%, 34.5%)
CIE-LABlab(47.96, 11.58, -31.56)
CIE-LCHlch(47.96, 33.61, 290.15°)
OKLaboklab(55.57% 0.0108 -0.0883)
OKLCHoklch(55.57% 0.089 277)
XYZxyz(18.0284, 16.7659, 38.8380)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EA7 #A79F66
analogous
#668FA7 #666EA7 #7E66A7
triadic
#666EA7 #A7666E #6EA766
tetradic
#666EA7 #A7668F #A79F66 #66A77E
square
#666EA7 #A7668F #A79F66 #66A77E
split-complementary
#666EA7 #A77E66 #8FA766
monochromatic
#363A5D #4C5384 #666EA7 #8D93BD #B4B8D4

Accessibility & contrast

On white

4.82
#666EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#666EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666EA7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EA7#FFFFFF#000000##FFFFFF
##666EA71.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B74A9
Deuteranopia (green-blind)
#576FA6
Tritanopia (blue-blind)
#537983
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666ea7;
/* rgb */ color: rgb(102, 110, 167);
/* oklch */ color: oklch(55.6% 0.089 277.0);
Tailwind
colors: {
  custom: {
    50: '#9497c1',
    500: '#666ea7',
    950: '#000000',
  },
}
SCSS
$custom: #666ea7;
$custom-light: #9497c1;
$custom-dark: #000000;
JSON
{
  "hex": "#666ea7",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 232.615,
    "s": 26.971,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.08896,
    "h": 277
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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