#665AC7#665AC7

#665AC7 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.164 H 284.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#665AC7
RGBrgb(102, 90, 199)
HSLhsl(247, 49%, 57%)
HSVhsv(247, 55%, 78%)
CMYKcmyk(48.7%, 54.8%, 0%, 22%)
CIE-LABlab(44.60, 33.38, -55.51)
CIE-LCHlch(44.60, 64.78, 301.02°)
OKLaboklab(53.6% 0.0408 -0.1584)
OKLCHoklch(53.6% 0.164 284.4)
XYZxyz(19.4414, 14.2597, 55.7498)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AC7 #BBC75A
analogous
#5A85C7 #665AC7 #9D5AC7
triadic
#665AC7 #C7665A #5AC766
tetradic
#665AC7 #C75A85 #BBC75A #5AC79D
square
#665AC7 #C75A85 #BBC75A #5AC79D
split-complementary
#665AC7 #C79D5A #85C75A
monochromatic
#332A7C #463AAA #665AC7 #9088D7 #BBB5E6

Accessibility & contrast

On white

5.45
#665AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#665AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AC7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AC7#FFFFFF#000000##FFFFFF
##665AC71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#437288
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665ac7;
/* rgb */ color: rgb(102, 90, 199);
/* oklch */ color: oklch(53.6% 0.164 284.4);
Tailwind
colors: {
  custom: {
    50: '#9889d9',
    500: '#665ac7',
    950: '#000000',
  },
}
SCSS
$custom: #665ac7;
$custom-light: #9889d9;
$custom-dark: #000000;
JSON
{
  "hex": "#665ac7",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 246.606,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.1636,
    "h": 284.4
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#665AC7
secondary
#D0D5A8
accent
#D94FCA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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