#666D97#666D97

#666D97 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.6% C 0.066 H 276.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#666D97
RGBrgb(102, 109, 151)
HSLhsl(231, 19%, 50%)
HSVhsv(231, 32%, 59%)
CMYKcmyk(32.5%, 27.8%, 0%, 40.8%)
CIE-LABlab(46.97, 7.69, -23.69)
CIE-LCHlch(46.97, 24.91, 287.98°)
OKLaboklab(54.56% 0.0077 -0.0657)
OKLCHoklch(54.56% 0.066 276.7)
XYZxyz(16.5325, 15.9959, 31.4886)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D97 #979066
analogous
#668697 #666D97 #786697
triadic
#666D97 #97666D #6D9766
tetradic
#666D97 #976686 #979066 #669778
square
#666D97 #976686 #979066 #669778
split-complementary
#666D97 #977866 #869766
monochromatic
#35384E #4D5372 #666D97 #8A90B0 #AFB2C9

Accessibility & contrast

On white

5.00
#666D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#666D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D97
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D97#FFFFFF#000000##FFFFFF
##666D971.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#59757C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #666d97;
/* rgb */ color: rgb(102, 109, 151);
/* oklch */ color: oklch(54.6% 0.066 276.7);
Tailwind
colors: {
  custom: {
    50: '#9396b5',
    500: '#666d97',
    950: '#000000',
  },
}
SCSS
$custom: #666d97;
$custom-light: #9396b5;
$custom-dark: #000000;
JSON
{
  "hex": "#666d97",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 231.429,
    "s": 19.368,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.06613,
    "h": 276.7
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#666D97
secondary
#B8B4A1
accent
#B16CBC
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D11
muted
#7E7E80

Preview Lab

Preview with #666D97

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

Preview Lab → · Contrast checker → · Palette generator →

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