#666282#666282

#666282 is a mid, muted blue. Relative luminance 0.132; OKLCH L 51.2% C 0.050 H 290.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#666282
RGBrgb(102, 98, 130)
HSLhsl(248, 14%, 45%)
HSVhsv(248, 25%, 51%)
CMYKcmyk(21.5%, 24.6%, 0%, 49%)
CIE-LABlab(43.02, 8.87, -17.22)
CIE-LCHlch(43.02, 19.37, 297.26°)
OKLaboklab(51.22% 0.0174 -0.0472)
OKLCHoklch(51.22% 0.05 290.2)
XYZxyz(13.8755, 13.1717, 22.9261)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666282 #7E8262
analogous
#626E82 #666282 #766282
triadic
#666282 #826662 #628266
tetradic
#666282 #82626E #7E8262 #628276
square
#666282 #82626E #7E8262 #628276
split-complementary
#666282 #827662 #6E8262
monochromatic
#2F2D3C #4B485F #666282 #8581A0 #A7A4BA

Accessibility & contrast

On white

5.78
#666282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#666282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666282
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666282#FFFFFF#000000##FFFFFF
##6662821.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#60676D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666282;
/* rgb */ color: rgb(102, 98, 130);
/* oklch */ color: oklch(51.2% 0.050 290.2);
Tailwind
colors: {
  custom: {
    50: '#928ea6',
    500: '#666282',
    950: '#000000',
  },
}
SCSS
$custom: #666282;
$custom-light: #928ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#666282",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 130
  },
  "hsl": {
    "h": 247.5,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.05036,
    "h": 290.2
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#666282
secondary
#A7A997
accent
#B771AE
background
#F9F8FA
surface
#F1F0F4
border
#CBCBCE
text
#0D0C0F
muted
#7E7D7F

Preview Lab

Preview with #666282

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

Preview Lab → · Contrast checker → · Palette generator →

#666282 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva