#665AA6#665AA6

#665AA6 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.5% C 0.118 H 288.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#665AA6
RGBrgb(102, 90, 166)
HSLhsl(249, 30%, 50%)
HSVhsv(249, 46%, 65%)
CMYKcmyk(38.6%, 45.8%, 0%, 34.9%)
CIE-LABlab(42.60, 23.60, -39.43)
CIE-LCHlch(42.60, 45.95, 300.90°)
OKLaboklab(51.45% 0.0379 -0.1112)
OKLCHoklch(51.45% 0.118 288.8)
XYZxyz(16.0167, 12.8898, 37.7131)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AA6 #9AA65A
analogous
#5A74A6 #665AA6 #8C5AA6
triadic
#665AA6 #A6665A #5AA666
tetradic
#665AA6 #A65A74 #9AA65A #5AA68C
square
#665AA6 #A65A74 #9AA65A #5AA68C
split-complementary
#665AA6 #A68C5A #74A65A
monochromatic
#352F57 #4D447F #665AA6 #8B82BB #B0AAD1

Accessibility & contrast

On white

5.87
#665AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#665AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AA6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AA6#FFFFFF#000000##FFFFFF
##665AA61.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A9
Deuteranopia (green-blind)
#3F63A4
Tritanopia (blue-blind)
#556978
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #665aa6;
/* rgb */ color: rgb(102, 90, 166);
/* oklch */ color: oklch(51.5% 0.118 288.8);
Tailwind
colors: {
  custom: {
    50: '#9588c1',
    500: '#665aa6',
    950: '#000000',
  },
}
SCSS
$custom: #665aa6;
$custom-light: #9588c1;
$custom-dark: #000000;
JSON
{
  "hex": "#665aa6",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 249.474,
    "s": 29.921,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.11752,
    "h": 288.8
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#665AA6
secondary
#BABF9D
accent
#C662B6
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665AA6

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

Preview Lab → · Contrast checker → · Palette generator →

#665AA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva