#665AC8#665AC8

#665AC8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.165 H 284.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#665AC8
RGBrgb(102, 90, 200)
HSLhsl(247, 50%, 57%)
HSVhsv(247, 55%, 78%)
CMYKcmyk(49%, 55%, 0%, 21.6%)
CIE-LABlab(44.67, 33.68, -55.98)
CIE-LCHlch(44.67, 65.34, 301.03°)
OKLaboklab(53.67% 0.0408 -0.1598)
OKLCHoklch(53.67% 0.165 284.3)
XYZxyz(19.5579, 14.3063, 56.3632)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AC8 #BCC85A
analogous
#5A85C8 #665AC8 #9D5AC8
triadic
#665AC8 #C8665A #5AC866
tetradic
#665AC8 #C85A85 #BCC85A #5AC89D
square
#665AC8 #C85A85 #BCC85A #5AC89D
split-complementary
#665AC8 #C89D5A #85C85A
monochromatic
#332A7E #4639AC #665AC8 #9188D7 #BBB6E7

Accessibility & contrast

On white

5.44
#665AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#665AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AC8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AC8#FFFFFF#000000##FFFFFF
##665AC81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196DCC
Deuteranopia (green-blind)
#1066C6
Tritanopia (blue-blind)
#437388
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665ac8;
/* rgb */ color: rgb(102, 90, 200);
/* oklch */ color: oklch(53.7% 0.165 284.3);
Tailwind
colors: {
  custom: {
    50: '#9889d9',
    500: '#665ac8',
    950: '#000000',
  },
}
SCSS
$custom: #665ac8;
$custom-light: #9889d9;
$custom-dark: #000000;
JSON
{
  "hex": "#665ac8",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 246.545,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53674,
    "c": 0.16494,
    "h": 284.3
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#665AC8
secondary
#D0D5A8
accent
#DA4ECA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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