#666CA8#666CA8

#666CA8 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.2% C 0.093 H 278.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#666CA8
RGBrgb(102, 108, 168)
HSLhsl(235, 28%, 53%)
HSVhsv(235, 39%, 66%)
CMYKcmyk(39.3%, 35.7%, 0%, 34.1%)
CIE-LABlab(47.46, 13.09, -32.92)
CIE-LCHlch(47.46, 35.43, 291.68°)
OKLaboklab(55.2% 0.0138 -0.0923)
OKLCHoklch(55.2% 0.093 278.5)
XYZxyz(17.9079, 16.3763, 39.2556)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CA8 #A8A266
analogous
#668DA8 #666CA8 #8166A8
triadic
#666CA8 #A8666C #6CA866
tetradic
#666CA8 #A8668D #A8A266 #66A881
square
#666CA8 #A8668D #A8A266 #66A881
split-complementary
#666CA8 #A88166 #8DA866
monochromatic
#36395E #4C5185 #666CA8 #8D91BE #B4B7D4

Accessibility & contrast

On white

4.91
#666CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#666CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CA8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CA8#FFFFFF#000000##FFFFFF
##666CA81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#527882
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #666ca8;
/* rgb */ color: rgb(102, 108, 168);
/* oklch */ color: oklch(55.2% 0.093 278.5);
Tailwind
colors: {
  custom: {
    50: '#9496c2',
    500: '#666ca8',
    950: '#000000',
  },
}
SCSS
$custom: #666ca8;
$custom-light: #9496c2;
$custom-dark: #000000;
JSON
{
  "hex": "#666ca8",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 234.545,
    "s": 27.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.552,
    "c": 0.09329,
    "h": 278.5
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#666CA8
secondary
#C3C1A7
accent
#BB64C4
background
#F9F9FB
surface
#F2F1F7
border
#CCCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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