#666FAF#666FAF

#666FAF is a mid, moderate blue. Relative luminance 0.173; OKLCH L 56.2% C 0.100 H 276.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#666FAF
RGBrgb(102, 111, 175)
HSLhsl(233, 31%, 54%)
HSVhsv(233, 42%, 69%)
CMYKcmyk(41.7%, 36.6%, 0%, 31.4%)
CIE-LABlab(48.62, 13.30, -35.19)
CIE-LCHlch(48.62, 37.62, 290.70°)
OKLaboklab(56.2% 0.0115 -0.0988)
OKLCHoklch(56.2% 0.1 276.6)
XYZxyz(18.8995, 17.2879, 42.8902)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FAF #AFA666
analogous
#6694AF #666FAF #8266AF
triadic
#666FAF #AF666F #6FAF66
tetradic
#666FAF #AF6694 #AFA666 #66AF82
square
#666FAF #AF6694 #AFA666 #66AF82
split-complementary
#666FAF #AF8266 #94AF66
monochromatic
#353B66 #4A528E #666FAF #8E95C4 #B6BBD9

Accessibility & contrast

On white

4.71
#666FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#666FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666FAF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FAF#FFFFFF#000000##FFFFFF
##666FAF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5976B2
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#4F7C87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #666faf;
/* rgb */ color: rgb(102, 111, 175);
/* oklch */ color: oklch(56.2% 0.100 276.6);
Tailwind
colors: {
  custom: {
    50: '#9598c7',
    500: '#666faf',
    950: '#000000',
  },
}
SCSS
$custom: #666faf;
$custom-light: #9598c7;
$custom-dark: #000000;
JSON
{
  "hex": "#666faf",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 232.603,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.0995,
    "h": 276.6
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#666FAF
secondary
#C8C4A9
accent
#BB60C8
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #666FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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