#666FAC#666FAC

#666FAC is a mid, moderate blue. Relative luminance 0.172; OKLCH L 56.0% C 0.095 H 276.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#666FAC
RGBrgb(102, 111, 172)
HSLhsl(232, 30%, 54%)
HSVhsv(232, 41%, 67%)
CMYKcmyk(40.7%, 35.5%, 0%, 32.5%)
CIE-LABlab(48.48, 12.42, -33.68)
CIE-LCHlch(48.48, 35.89, 290.24°)
OKLaboklab(56.04% 0.0107 -0.0944)
OKLCHoklch(56.04% 0.095 276.5)
XYZxyz(18.6081, 17.1714, 41.3557)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FAC #ACA366
analogous
#6692AC #666FAC #8066AC
triadic
#666FAC #AC666F #6FAC66
tetradic
#666FAC #AC6692 #ACA366 #66AC80
square
#666FAC #AC6692 #ACA366 #66AC80
split-complementary
#666FAC #AC8066 #92AC66
monochromatic
#353B62 #4B538A #666FAC #8E94C2 #B5BAD7

Accessibility & contrast

On white

4.74
#666FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#666FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666FAC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FAC#FFFFFF#000000##FFFFFF
##666FAC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#507B85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #666fac;
/* rgb */ color: rgb(102, 111, 172);
/* oklch */ color: oklch(56.0% 0.095 276.5);
Tailwind
colors: {
  custom: {
    50: '#9498c5',
    500: '#666fac',
    950: '#000000',
  },
}
SCSS
$custom: #666fac;
$custom-light: #9498c5;
$custom-dark: #000000;
JSON
{
  "hex": "#666fac",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 232.286,
    "s": 29.661,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.09505,
    "h": 276.5
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#666FAC
secondary
#C6C2A8
accent
#B962C6
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #666FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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