#666A97#666A97

#666A97 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 53.9% C 0.070 H 279.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#666A97
RGBrgb(102, 106, 151)
HSLhsl(235, 19%, 50%)
HSVhsv(235, 32%, 59%)
CMYKcmyk(32.5%, 29.8%, 0%, 40.8%)
CIE-LABlab(46.13, 9.51, -24.99)
CIE-LCHlch(46.13, 26.74, 290.84°)
OKLaboklab(53.92% 0.012 -0.0694)
OKLCHoklch(53.92% 0.07 279.8)
XYZxyz(16.2179, 15.3667, 31.3837)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A97 #979366
analogous
#668397 #666A97 #7B6697
triadic
#666A97 #97666A #6A9766
tetradic
#666A97 #976683 #979366 #66977B
square
#666A97 #976683 #979366 #66977B
split-complementary
#666A97 #977B66 #839766
monochromatic
#35374E #4D5072 #666A97 #8A8DB0 #AFB1C9

Accessibility & contrast

On white

5.16
#666A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#666A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A97
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A97#FFFFFF#000000##FFFFFF
##666A971.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F99
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#59727A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #666a97;
/* rgb */ color: rgb(102, 106, 151);
/* oklch */ color: oklch(53.9% 0.070 279.8);
Tailwind
colors: {
  custom: {
    50: '#9394b5',
    500: '#666a97',
    950: '#000000',
  },
}
SCSS
$custom: #666a97;
$custom-light: #9394b5;
$custom-dark: #000000;
JSON
{
  "hex": "#666a97",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 151
  },
  "hsl": {
    "h": 235.102,
    "s": 19.368,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.07041,
    "h": 279.8
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#666A97
secondary
#B8B6A1
accent
#B56CBC
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D11
muted
#7E7E80

Preview Lab

Preview with #666A97

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

Preview Lab → · Contrast checker → · Palette generator →

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