#665EA6#665EA6

#665EA6 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.2% C 0.111 H 287.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#665EA6
RGBrgb(102, 94, 166)
HSLhsl(247, 29%, 51%)
HSVhsv(247, 43%, 65%)
CMYKcmyk(38.6%, 43.4%, 0%, 34.9%)
CIE-LABlab(43.63, 21.13, -37.79)
CIE-LCHlch(43.63, 43.30, 299.21°)
OKLaboklab(52.24% 0.0325 -0.1064)
OKLCHoklch(52.24% 0.111 287)
XYZxyz(16.3632, 13.5828, 37.8286)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA6 #9EA65E
analogous
#5E7AA6 #665EA6 #8A5EA6
triadic
#665EA6 #A6665E #5EA666
tetradic
#665EA6 #A65E7A #9EA65E #5EA68A
square
#665EA6 #A65E7A #9EA65E #5EA68A
split-complementary
#665EA6 #A68A5E #7AA65E
monochromatic
#353159 #4D4780 #665EA6 #8B85BC #B1ADD2

Accessibility & contrast

On white

5.65
#665EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665EA6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA6#FFFFFF#000000##FFFFFF
##665EA61.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569A9
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#556C7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ea6;
/* rgb */ color: rgb(102, 94, 166);
/* oklch */ color: oklch(52.2% 0.111 287.0);
Tailwind
colors: {
  custom: {
    50: '#948bc1',
    500: '#665ea6',
    950: '#000000',
  },
}
SCSS
$custom: #665ea6;
$custom-light: #948bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea6",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 246.667,
    "s": 28.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.1113,
    "h": 287
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#665EA6
secondary
#BCC0A0
accent
#C563BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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