#666FA8#666FA8

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

Color values

HEX#666FA8
RGBrgb(102, 111, 168)
HSLhsl(232, 28%, 53%)
HSVhsv(232, 39%, 66%)
CMYKcmyk(39.3%, 33.9%, 0%, 34.1%)
CIE-LABlab(48.29, 11.26, -31.64)
CIE-LCHlch(48.29, 33.58, 289.58°)
OKLaboklab(55.83% 0.0097 -0.0885)
OKLCHoklch(55.83% 0.089 276.3)
XYZxyz(18.2297, 17.0200, 39.3629)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FA8 #A89F66
analogous
#6690A8 #666FA8 #7E66A8
triadic
#666FA8 #A8666F #6FA866
tetradic
#666FA8 #A86690 #A89F66 #66A87E
square
#666FA8 #A86690 #A89F66 #66A87E
split-complementary
#666FA8 #A87E66 #90A866
monochromatic
#363B5E #4C5485 #666FA8 #8D94BE #B4B8D4

Accessibility & contrast

On white

4.77
#666FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666FA8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FA8#FFFFFF#000000##FFFFFF
##666FA81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#527A84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #666fa8;
/* rgb */ color: rgb(102, 111, 168);
/* oklch */ color: oklch(55.8% 0.089 276.3);
Tailwind
colors: {
  custom: {
    50: '#9498c2',
    500: '#666fa8',
    950: '#000000',
  },
}
SCSS
$custom: #666fa8;
$custom-light: #9498c2;
$custom-dark: #000000;
JSON
{
  "hex": "#666fa8",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 231.818,
    "s": 27.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.08907,
    "h": 276.3
  },
  "luminance": 0.17021
}

Semantic roles & 50–950 ramp

primary
#666FA8
secondary
#C3BFA7
accent
#B764C4
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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