#665CCC#665CCC

#665CCC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.168 H 283.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#665CCC
RGBrgb(102, 92, 204)
HSLhsl(245, 52%, 58%)
HSVhsv(245, 55%, 80%)
CMYKcmyk(50%, 54.9%, 0%, 20%)
CIE-LABlab(45.41, 33.69, -57.09)
CIE-LCHlch(45.41, 66.29, 300.55°)
OKLaboklab(54.31% 0.0386 -0.1631)
OKLCHoklch(54.31% 0.168 283.3)
XYZxyz(20.2024, 14.8377, 58.9145)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CCC #C2CC5C
analogous
#5C8ACC #665CCC #9E5CCC
triadic
#665CCC #CC665C #5CCC66
tetradic
#665CCC #CC5C8A #C2CC5C #5CCC9E
square
#665CCC #CC5C8A #C2CC5C #5CCC9E
split-complementary
#665CCC #CC9E5C #8ACC5C
monochromatic
#312984 #4338B3 #665CCC #928BDB #BEB9E9

Accessibility & contrast

On white

5.29
#665CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#665CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CCC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CCC#FFFFFF#000000##FFFFFF
##665CCC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#0B68CA
Tritanopia (blue-blind)
#40758B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665ccc;
/* rgb */ color: rgb(102, 92, 204);
/* oklch */ color: oklch(54.3% 0.168 283.3);
Tailwind
colors: {
  custom: {
    50: '#998adc',
    500: '#665ccc',
    950: '#000000',
  },
}
SCSS
$custom: #665ccc;
$custom-light: #998adc;
$custom-dark: #000000;
JSON
{
  "hex": "#665ccc",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 245.357,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.16759,
    "h": 283.3
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#665CCC
secondary
#D4D8AC
accent
#DC4CCF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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