#665CB7#665CB7

#665CB7 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.139 H 285.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#665CB7
RGBrgb(102, 92, 183)
HSLhsl(247, 39%, 54%)
HSVhsv(247, 50%, 72%)
CMYKcmyk(44.3%, 49.7%, 0%, 28.2%)
CIE-LABlab(44.09, 27.35, -47.05)
CIE-LCHlch(44.09, 54.42, 300.17°)
OKLaboklab(52.89% 0.0374 -0.1336)
OKLCHoklch(52.89% 0.139 285.6)
XYZxyz(17.8514, 13.8972, 46.5324)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CB7 #ADB75C
analogous
#5C80B7 #665CB7 #945CB7
triadic
#665CB7 #B7665C #5CB766
tetradic
#665CB7 #B75C80 #ADB75C #5CB794
square
#665CB7 #B75C80 #ADB75C #5CB794
split-complementary
#665CB7 #B7945C #80B75C
monochromatic
#352F6A #4B4294 #665CB7 #8E86CA #B6B1DD

Accessibility & contrast

On white

5.56
#665CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#665CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CB7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CB7#FFFFFF#000000##FFFFFF
##665CB71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#3366B5
Tritanopia (blue-blind)
#4D6F81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665cb7;
/* rgb */ color: rgb(102, 92, 183);
/* oklch */ color: oklch(52.9% 0.139 285.6);
Tailwind
colors: {
  custom: {
    50: '#968acd',
    500: '#665cb7',
    950: '#000000',
  },
}
SCSS
$custom: #665cb7;
$custom-light: #968acd;
$custom-dark: #000000;
JSON
{
  "hex": "#665cb7",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 246.593,
    "s": 38.723,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.1387,
    "h": 285.6
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#665CB7
secondary
#C7CBA4
accent
#CF59C2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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