#665BAE#665BAE

#665BAE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.127 H 287.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#665BAE
RGBrgb(102, 91, 174)
HSLhsl(248, 34%, 52%)
HSVhsv(248, 48%, 68%)
CMYKcmyk(41.4%, 47.7%, 0%, 31.8%)
CIE-LABlab(43.30, 25.31, -43.02)
CIE-LCHlch(43.30, 49.91, 300.46°)
OKLaboklab(52.14% 0.0377 -0.1218)
OKLCHoklch(52.14% 0.127 287.2)
XYZxyz(16.8584, 13.3624, 41.7271)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BAE #A3AE5B
analogous
#5B7AAE #665BAE #905BAE
triadic
#665BAE #AE665B #5BAE66
tetradic
#665BAE #AE5B7A #A3AE5B #5BAE90
square
#665BAE #AE5B7A #A3AE5B #5BAE90
split-complementary
#665BAE #AE905B #7AAE5B
monochromatic
#362F5F #4D4388 #665BAE #8C84C2 #B2ADD6

Accessibility & contrast

On white

5.72
#665BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#665BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BAE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BAE#FFFFFF#000000##FFFFFF
##665BAE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B1
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#516C7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665bae;
/* rgb */ color: rgb(102, 91, 174);
/* oklch */ color: oklch(52.1% 0.127 287.2);
Tailwind
colors: {
  custom: {
    50: '#9589c6',
    500: '#665bae',
    950: '#000000',
  },
}
SCSS
$custom: #665bae;
$custom-light: #9589c6;
$custom-dark: #000000;
JSON
{
  "hex": "#665bae",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 247.952,
    "s": 33.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.12745,
    "h": 287.2
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#665BAE
secondary
#C0C5A0
accent
#CA5EBC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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