#665EA7#665EA7

#665EA7 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.3% C 0.113 H 286.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#665EA7
RGBrgb(102, 94, 167)
HSLhsl(247, 29%, 51%)
HSVhsv(247, 44%, 65%)
CMYKcmyk(38.9%, 43.7%, 0%, 34.5%)
CIE-LABlab(43.68, 21.42, -38.30)
CIE-LCHlch(43.68, 43.88, 299.22°)
OKLaboklab(52.29% 0.0327 -0.1079)
OKLCHoklch(52.29% 0.113 286.8)
XYZxyz(16.4553, 13.6197, 38.3136)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA7 #9FA75E
analogous
#5E7AA7 #665EA7 #8A5EA7
triadic
#665EA7 #A7665E #5EA766
tetradic
#665EA7 #A75E7A #9FA75E #5EA78A
square
#665EA7 #A75E7A #9FA75E #5EA78A
split-complementary
#665EA7 #A78A5E #7AA75E
monochromatic
#35315A #4D4781 #665EA7 #8C86BD #B1ADD2

Accessibility & contrast

On white

5.64
#665EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#665EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EA7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA7#FFFFFF#000000##FFFFFF
##665EA71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569AA
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#546C7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ea7;
/* rgb */ color: rgb(102, 94, 167);
/* oklch */ color: oklch(52.3% 0.113 286.8);
Tailwind
colors: {
  custom: {
    50: '#948bc1',
    500: '#665ea7',
    950: '#000000',
  },
}
SCSS
$custom: #665ea7;
$custom-light: #948bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea7",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 246.575,
    "s": 29.317,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.11275,
    "h": 286.8
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#665EA7
secondary
#BDC1A0
accent
#C662BB
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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