#665EA1#665EA1

#665EA1 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.9% C 0.104 H 287.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#665EA1
RGBrgb(102, 94, 161)
HSLhsl(247, 26%, 50%)
HSVhsv(247, 42%, 63%)
CMYKcmyk(36.6%, 41.6%, 0%, 36.9%)
CIE-LABlab(43.36, 19.70, -35.25)
CIE-LCHlch(43.36, 40.38, 299.20°)
OKLaboklab(51.95% 0.0316 -0.099)
OKLCHoklch(51.95% 0.104 287.7)
XYZxyz(15.9135, 13.4029, 35.4599)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA1 #99A15E
analogous
#5E78A1 #665EA1 #875EA1
triadic
#665EA1 #A1665E #5EA166
tetradic
#665EA1 #A15E78 #99A15E #5EA187
square
#665EA1 #A15E78 #99A15E #5EA187
split-complementary
#665EA1 #A1875E #78A15E
monochromatic
#353154 #4E477A #665EA1 #8B85B8 #AFABCE

Accessibility & contrast

On white

5.71
#665EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#665EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EA1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA1#FFFFFF#000000##FFFFFF
##665EA11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#47659F
Tritanopia (blue-blind)
#576B78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665ea1;
/* rgb */ color: rgb(102, 94, 161);
/* oklch */ color: oklch(51.9% 0.104 287.7);
Tailwind
colors: {
  custom: {
    50: '#948bbd',
    500: '#665ea1',
    950: '#000000',
  },
}
SCSS
$custom: #665ea1;
$custom-light: #948bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea1",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 247.164,
    "s": 26.275,
    "l": 50
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.10395,
    "h": 287.7
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#665EA1
secondary
#B9BC9E
accent
#C365B7
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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