#665AA4#665AA4

#665AA4 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 51.3% C 0.115 H 289.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#665AA4
RGBrgb(102, 90, 164)
HSLhsl(250, 29%, 50%)
HSVhsv(250, 45%, 64%)
CMYKcmyk(37.8%, 45.1%, 0%, 35.7%)
CIE-LABlab(42.49, 23.03, -38.42)
CIE-LCHlch(42.49, 44.79, 300.94°)
OKLaboklab(51.33% 0.0376 -0.1083)
OKLCHoklch(51.33% 0.115 289.2)
XYZxyz(15.8347, 12.8170, 36.7544)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AA4 #98A45A
analogous
#5A73A4 #665AA4 #8B5AA4
triadic
#665AA4 #A4665A #5AA466
tetradic
#665AA4 #A45A73 #98A45A #5AA48B
square
#665AA4 #A45A73 #98A45A #5AA48B
split-complementary
#665AA4 #A48B5A #73A45A
monochromatic
#352F55 #4D447C #665AA4 #8A81BA #AFA9D0

Accessibility & contrast

On white

5.89
#665AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#665AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AA4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AA4#FFFFFF#000000##FFFFFF
##665AA41.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#4163A2
Tritanopia (blue-blind)
#566877
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #665aa4;
/* rgb */ color: rgb(102, 90, 164);
/* oklch */ color: oklch(51.3% 0.115 289.2);
Tailwind
colors: {
  custom: {
    50: '#9488bf',
    500: '#665aa4',
    950: '#000000',
  },
}
SCSS
$custom: #665aa4;
$custom-light: #9488bf;
$custom-dark: #000000;
JSON
{
  "hex": "#665aa4",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 249.73,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.11463,
    "h": 289.2
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#665AA4
secondary
#B8BE9C
accent
#C562B5
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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