#665AC6#665AC6

#665AC6 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.162 H 284.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#665AC6
RGBrgb(102, 90, 198)
HSLhsl(247, 49%, 56%)
HSVhsv(247, 55%, 78%)
CMYKcmyk(48.5%, 54.5%, 0%, 22.4%)
CIE-LABlab(44.54, 33.08, -55.04)
CIE-LCHlch(44.54, 64.22, 301.00°)
OKLaboklab(53.53% 0.0407 -0.157)
OKLCHoklch(53.53% 0.162 284.5)
XYZxyz(19.3257, 14.2134, 55.1403)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AC6 #BAC65A
analogous
#5A84C6 #665AC6 #9C5AC6
triadic
#665AC6 #C6665A #5AC666
tetradic
#665AC6 #C65A84 #BAC65A #5AC69C
square
#665AC6 #C65A84 #BAC65A #5AC69C
split-complementary
#665AC6 #C69C5A #84C65A
monochromatic
#332B7B #463AA9 #665AC6 #9087D6 #BAB5E5

Accessibility & contrast

On white

5.46
#665AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#665AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AC6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AC6#FFFFFF#000000##FFFFFF
##665AC61.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCA
Deuteranopia (green-blind)
#1666C4
Tritanopia (blue-blind)
#447287
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665ac6;
/* rgb */ color: rgb(102, 90, 198);
/* oklch */ color: oklch(53.5% 0.162 284.5);
Tailwind
colors: {
  custom: {
    50: '#9889d8',
    500: '#665ac6',
    950: '#000000',
  },
}
SCSS
$custom: #665ac6;
$custom-light: #9889d8;
$custom-dark: #000000;
JSON
{
  "hex": "#665ac6",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 198
  },
  "hsl": {
    "h": 246.667,
    "s": 48.649,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.16224,
    "h": 284.5
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#665AC6
secondary
#CFD4A8
accent
#D850C9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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