#665CA7#665CA7

#665CA7 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.9% C 0.116 H 287.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#665CA7
RGBrgb(102, 92, 167)
HSLhsl(248, 30%, 51%)
HSVhsv(248, 45%, 65%)
CMYKcmyk(38.9%, 44.9%, 0%, 34.5%)
CIE-LABlab(43.17, 22.65, -39.12)
CIE-LCHlch(43.17, 45.20, 300.08°)
OKLaboklab(51.9% 0.0354 -0.1103)
OKLCHoklch(51.9% 0.116 287.8)
XYZxyz(16.2798, 13.2686, 38.2551)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CA7 #9DA75C
analogous
#5C77A7 #665CA7 #8B5CA7
triadic
#665CA7 #A7665C #5CA766
tetradic
#665CA7 #A75C77 #9DA75C #5CA78B
square
#665CA7 #A75C77 #9DA75C #5CA78B
split-complementary
#665CA7 #A78B5C #77A75C
monochromatic
#353059 #4D4580 #665CA7 #8B84BC #B1ABD2

Accessibility & contrast

On white

5.75
#665CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#665CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CA7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CA7#FFFFFF#000000##FFFFFF
##665CA71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#546B79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665ca7;
/* rgb */ color: rgb(102, 92, 167);
/* oklch */ color: oklch(51.9% 0.116 287.8);
Tailwind
colors: {
  custom: {
    50: '#958ac1',
    500: '#665ca7',
    950: '#000000',
  },
}
SCSS
$custom: #665ca7;
$custom-light: #958ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#665ca7",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 248,
    "s": 29.88,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.11585,
    "h": 287.8
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#665CA7
secondary
#BCC09F
accent
#C662B9
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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