#665BB7#665BB7

#665BB7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.140 H 286.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#665BB7
RGBrgb(102, 91, 183)
HSLhsl(247, 39%, 54%)
HSVhsv(247, 50%, 72%)
CMYKcmyk(44.3%, 50.3%, 0%, 28.2%)
CIE-LABlab(43.84, 27.96, -47.45)
CIE-LCHlch(43.84, 55.08, 300.51°)
OKLaboklab(52.71% 0.0386 -0.1347)
OKLCHoklch(52.71% 0.14 286)
XYZxyz(17.7654, 13.7251, 46.5037)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BB7 #ACB75B
analogous
#5B7EB7 #665BB7 #945BB7
triadic
#665BB7 #B7665B #5BB766
tetradic
#665BB7 #B75B7E #ACB75B #5BB794
square
#665BB7 #B75B7E #ACB75B #5BB794
split-complementary
#665BB7 #B7945B #7EB75B
monochromatic
#352E69 #4B4194 #665BB7 #8E86CA #B5B0DC

Accessibility & contrast

On white

5.61
#665BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#665BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BB7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BB7#FFFFFF#000000##FFFFFF
##665BB71.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#4D6E80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665bb7;
/* rgb */ color: rgb(102, 91, 183);
/* oklch */ color: oklch(52.7% 0.140 286.0);
Tailwind
colors: {
  custom: {
    50: '#9689cd',
    500: '#665bb7',
    950: '#000000',
  },
}
SCSS
$custom: #665bb7;
$custom-light: #9689cd;
$custom-dark: #000000;
JSON
{
  "hex": "#665bb7",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 247.174,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.14017,
    "h": 286
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#665BB7
secondary
#C6CBA3
accent
#CF59C1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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