#665CAA#665CAA

#665CAA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.120 H 287.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#665CAA
RGBrgb(102, 92, 170)
HSLhsl(248, 31%, 51%)
HSVhsv(248, 46%, 67%)
CMYKcmyk(40%, 45.9%, 0%, 33.3%)
CIE-LABlab(43.33, 23.52, -40.62)
CIE-LCHlch(43.33, 46.94, 300.07°)
OKLaboklab(52.08% 0.0358 -0.1147)
OKLCHoklch(52.08% 0.12 287.3)
XYZxyz(16.5603, 13.3808, 39.7326)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CAA #A0AA5C
analogous
#5C79AA #665CAA #8D5CAA
triadic
#665CAA #AA665C #5CAA66
tetradic
#665CAA #AA5C79 #A0AA5C #5CAA8D
square
#665CAA #AA5C79 #A0AA5C #5CAA8D
split-complementary
#665CAA #AA8D5C #79AA5C
monochromatic
#35305C #4D4584 #665CAA #8C84BF #B2ACD4

Accessibility & contrast

On white

5.71
#665CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#665CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CAA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CAA#FFFFFF#000000##FFFFFF
##665CAA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#536C7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665caa;
/* rgb */ color: rgb(102, 92, 170);
/* oklch */ color: oklch(52.1% 0.120 287.3);
Tailwind
colors: {
  custom: {
    50: '#958ac4',
    500: '#665caa',
    950: '#000000',
  },
}
SCSS
$custom: #665caa;
$custom-light: #958ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#665caa",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 247.692,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.12019,
    "h": 287.3
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#665CAA
secondary
#BEC2A0
accent
#C860BA
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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