#665EAA#665EAA

#665EAA is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.5% C 0.117 H 286.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#665EAA
RGBrgb(102, 94, 170)
HSLhsl(246, 31%, 52%)
HSVhsv(246, 45%, 67%)
CMYKcmyk(40%, 44.7%, 0%, 33.3%)
CIE-LABlab(43.85, 22.29, -39.81)
CIE-LCHlch(43.85, 45.62, 299.25°)
OKLaboklab(52.47% 0.0332 -0.1123)
OKLCHoklch(52.47% 0.117 286.4)
XYZxyz(16.7359, 13.7319, 39.7911)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EAA #A2AA5E
analogous
#5E7CAA #665EAA #8C5EAA
triadic
#665EAA #AA665E #5EAA66
tetradic
#665EAA #AA5E7C #A2AA5E #5EAA8C
square
#665EAA #AA5E7C #A2AA5E #5EAA8C
split-complementary
#665EAA #AA8C5E #7CAA5E
monochromatic
#36315D #4D4685 #665EAA #8C86BF #B2AED4

Accessibility & contrast

On white

5.61
#665EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#665EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EAA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EAA#FFFFFF#000000##FFFFFF
##665EAA1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#4166A8
Tritanopia (blue-blind)
#536D7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665eaa;
/* rgb */ color: rgb(102, 94, 170);
/* oklch */ color: oklch(52.5% 0.117 286.4);
Tailwind
colors: {
  custom: {
    50: '#958bc4',
    500: '#665eaa',
    950: '#000000',
  },
}
SCSS
$custom: #665eaa;
$custom-light: #958bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#665eaa",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 246.316,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.11712,
    "h": 286.4
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#665EAA
secondary
#BFC3A1
accent
#C761BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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