#665DB7#665DB7

#665DB7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.137 H 285.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#665DB7
RGBrgb(102, 93, 183)
HSLhsl(246, 38%, 54%)
HSVhsv(246, 49%, 72%)
CMYKcmyk(44.3%, 49.2%, 0%, 28.2%)
CIE-LABlab(44.34, 26.74, -46.65)
CIE-LCHlch(44.34, 53.77, 299.82°)
OKLaboklab(53.08% 0.0361 -0.1324)
OKLCHoklch(53.08% 0.137 285.3)
XYZxyz(17.9386, 14.0716, 46.5615)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DB7 #AEB75D
analogous
#5D81B7 #665DB7 #935DB7
triadic
#665DB7 #B7665D #5DB766
tetradic
#665DB7 #B75D81 #AEB75D #5DB793
square
#665DB7 #B75D81 #AEB75D #5DB793
split-complementary
#665DB7 #B7935D #81B75D
monochromatic
#352F6A #4A4295 #665DB7 #8E87CA #B6B2DD

Accessibility & contrast

On white

5.51
#665DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#665DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DB7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DB7#FFFFFF#000000##FFFFFF
##665DB71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#3566B5
Tritanopia (blue-blind)
#4D7081
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665db7;
/* rgb */ color: rgb(102, 93, 183);
/* oklch */ color: oklch(53.1% 0.137 285.3);
Tailwind
colors: {
  custom: {
    50: '#968bcd',
    500: '#665db7',
    950: '#000000',
  },
}
SCSS
$custom: #665db7;
$custom-light: #968bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#665db7",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 246,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.13723,
    "h": 285.3
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#665DB7
secondary
#C7CBA5
accent
#CE59C3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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