#665AAE#665AAE

#665AAE is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.129 H 287.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#665AAE
RGBrgb(102, 90, 174)
HSLhsl(249, 34%, 52%)
HSVhsv(249, 48%, 68%)
CMYKcmyk(41.4%, 48.3%, 0%, 31.8%)
CIE-LABlab(43.05, 25.92, -43.43)
CIE-LCHlch(43.05, 50.57, 300.83°)
OKLaboklab(51.94% 0.039 -0.1229)
OKLCHoklch(51.94% 0.129 287.6)
XYZxyz(16.7735, 13.1925, 41.6988)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AAE #A2AE5A
analogous
#5A78AE #665AAE #905AAE
triadic
#665AAE #AE665A #5AAE66
tetradic
#665AAE #AE5A78 #A2AE5A #5AAE90
square
#665AAE #AE5A78 #A2AE5A #5AAE90
split-complementary
#665AAE #AE905A #78AE5A
monochromatic
#362F5F #4D4388 #665AAE #8C83C2 #B2ACD6

Accessibility & contrast

On white

5.77
#665AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#665AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AAE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AAE#FFFFFF#000000##FFFFFF
##665AAE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B1
Deuteranopia (green-blind)
#3963AC
Tritanopia (blue-blind)
#516B7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665aae;
/* rgb */ color: rgb(102, 90, 174);
/* oklch */ color: oklch(51.9% 0.129 287.6);
Tailwind
colors: {
  custom: {
    50: '#9589c6',
    500: '#665aae',
    950: '#000000',
  },
}
SCSS
$custom: #665aae;
$custom-light: #9589c6;
$custom-dark: #000000;
JSON
{
  "hex": "#665aae",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 248.571,
    "s": 34.146,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.12897,
    "h": 287.6
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

primary
#665AAE
secondary
#BFC49F
accent
#CA5EBB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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