#666A98#666A98

#666A98 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 54.0% C 0.072 H 279.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#666A98
RGBrgb(102, 106, 152)
HSLhsl(235, 20%, 50%)
HSVhsv(235, 33%, 60%)
CMYKcmyk(32.9%, 30.3%, 0%, 40.4%)
CIE-LABlab(46.18, 9.79, -25.51)
CIE-LCHlch(46.18, 27.33, 290.99°)
OKLaboklab(53.96% 0.0123 -0.0709)
OKLCHoklch(53.96% 0.072 279.9)
XYZxyz(16.2995, 15.3993, 31.8133)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A98 #989466
analogous
#668398 #666A98 #7B6698
triadic
#666A98 #98666A #6A9866
tetradic
#666A98 #986683 #989466 #66987B
square
#666A98 #986683 #989466 #66987B
split-complementary
#666A98 #987B66 #839866
monochromatic
#35374F #4D5073 #666A98 #8A8DB1 #AFB1C9

Accessibility & contrast

On white

5.15
#666A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#666A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A98
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A98#FFFFFF#000000##FFFFFF
##666A981.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#59737A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #666a98;
/* rgb */ color: rgb(102, 106, 152);
/* oklch */ color: oklch(54.0% 0.072 279.9);
Tailwind
colors: {
  custom: {
    50: '#9394b6',
    500: '#666a98',
    950: '#000000',
  },
}
SCSS
$custom: #666a98;
$custom-light: #9394b6;
$custom-dark: #000000;
JSON
{
  "hex": "#666a98",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 152
  },
  "hsl": {
    "h": 235.2,
    "s": 19.685,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.07194,
    "h": 279.9
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#666A98
secondary
#B8B6A2
accent
#B66CBC
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D11
muted
#7E7E80

Preview Lab

Preview with #666A98

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

Preview Lab → · Contrast checker → · Palette generator →

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