#665AA8#665AA8

#665AA8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.120 H 288.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#665AA8
RGBrgb(102, 90, 168)
HSLhsl(249, 31%, 51%)
HSVhsv(249, 46%, 66%)
CMYKcmyk(39.3%, 46.4%, 0%, 34.1%)
CIE-LABlab(42.71, 24.18, -40.43)
CIE-LCHlch(42.71, 47.11, 300.88°)
OKLaboklab(51.58% 0.0382 -0.1142)
OKLCHoklch(51.58% 0.12 288.5)
XYZxyz(16.2016, 12.9638, 38.6868)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AA8 #9CA85A
analogous
#5A75A8 #665AA8 #8D5AA8
triadic
#665AA8 #A8665A #5AA866
tetradic
#665AA8 #A85A75 #9CA85A #5AA88D
square
#665AA8 #A85A75 #9CA85A #5AA88D
split-complementary
#665AA8 #A88D5A #75A85A
monochromatic
#352F59 #4D4481 #665AA8 #8B82BD #B0AAD2

Accessibility & contrast

On white

5.85
#665AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#665AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AA8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AA8#FFFFFF#000000##FFFFFF
##665AA81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AB
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#546979
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #665aa8;
/* rgb */ color: rgb(102, 90, 168);
/* oklch */ color: oklch(51.6% 0.120 288.5);
Tailwind
colors: {
  custom: {
    50: '#9588c2',
    500: '#665aa8',
    950: '#000000',
  },
}
SCSS
$custom: #665aa8;
$custom-light: #9588c2;
$custom-dark: #000000;
JSON
{
  "hex": "#665aa8",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 249.231,
    "s": 30.952,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.1204,
    "h": 288.5
  },
  "luminance": 0.12964
}

Semantic roles & 50–950 ramp

primary
#665AA8
secondary
#BBC09E
accent
#C761B7
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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