#665AA5#665AA5

#665AA5 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.4% C 0.116 H 289.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#665AA5
RGBrgb(102, 90, 165)
HSLhsl(250, 29%, 50%)
HSVhsv(250, 45%, 65%)
CMYKcmyk(38.2%, 45.5%, 0%, 35.3%)
CIE-LABlab(42.54, 23.31, -38.92)
CIE-LCHlch(42.54, 45.37, 300.92°)
OKLaboklab(51.39% 0.0378 -0.1098)
OKLCHoklch(51.39% 0.116 289)
XYZxyz(15.9253, 12.8533, 37.2319)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AA5 #99A55A
analogous
#5A73A5 #665AA5 #8C5AA5
triadic
#665AA5 #A5665A #5AA566
tetradic
#665AA5 #A55A73 #99A55A #5AA58C
square
#665AA5 #A55A73 #99A55A #5AA58C
split-complementary
#665AA5 #A58C5A #73A55A
monochromatic
#352F56 #4E447D #665AA5 #8B82BB #AFA9D0

Accessibility & contrast

On white

5.88
#665AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#665AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AA5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AA5#FFFFFF#000000##FFFFFF
##665AA51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#556977
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #665aa5;
/* rgb */ color: rgb(102, 90, 165);
/* oklch */ color: oklch(51.4% 0.116 289.0);
Tailwind
colors: {
  custom: {
    50: '#9488c0',
    500: '#665aa5',
    950: '#000000',
  },
}
SCSS
$custom: #665aa5;
$custom-light: #9488c0;
$custom-dark: #000000;
JSON
{
  "hex": "#665aa5",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 249.6,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.11608,
    "h": 289
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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