#665BCC#665BCC

#665BCC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.169 H 283.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#665BCC
RGBrgb(102, 91, 204)
HSLhsl(246, 53%, 58%)
HSVhsv(246, 55%, 80%)
CMYKcmyk(50%, 55.4%, 0%, 20%)
CIE-LABlab(45.17, 34.30, -57.48)
CIE-LCHlch(45.17, 66.93, 300.82°)
OKLaboklab(54.13% 0.0398 -0.1642)
OKLCHoklch(54.13% 0.169 283.6)
XYZxyz(20.1164, 14.6655, 58.8858)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BCC #C1CC5B
analogous
#5B88CC #665BCC #9F5BCC
triadic
#665BCC #CC665B #5BCC66
tetradic
#665BCC #CC5B88 #C1CC5B #5BCC9F
square
#665BCC #CC5B88 #C1CC5B #5BCC9F
split-complementary
#665BCC #CC9F5B #88CC5B
monochromatic
#322984 #4337B2 #665BCC #928ADB #BDB8E9

Accessibility & contrast

On white

5.34
#665BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#665BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BCC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BCC#FFFFFF#000000##FFFFFF
##665BCC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ED0
Deuteranopia (green-blind)
#0467CA
Tritanopia (blue-blind)
#40748B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665bcc;
/* rgb */ color: rgb(102, 91, 204);
/* oklch */ color: oklch(54.1% 0.169 283.6);
Tailwind
colors: {
  custom: {
    50: '#9989dc',
    500: '#665bcc',
    950: '#000000',
  },
}
SCSS
$custom: #665bcc;
$custom-light: #9989dc;
$custom-dark: #000000;
JSON
{
  "hex": "#665bcc",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 245.841,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.16895,
    "h": 283.6
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#665BCC
secondary
#D4D8AB
accent
#DC4CCE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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