#665DB4#665DB4

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

Color values

HEX#665DB4
RGBrgb(102, 93, 180)
HSLhsl(246, 37%, 54%)
HSVhsv(246, 48%, 71%)
CMYKcmyk(43.3%, 48.3%, 0%, 29.4%)
CIE-LABlab(44.16, 25.85, -45.18)
CIE-LCHlch(44.16, 52.05, 299.77°)
OKLaboklab(52.89% 0.0358 -0.1281)
OKLCHoklch(52.89% 0.133 285.6)
XYZxyz(17.6297, 13.9481, 44.9345)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DB4 #ABB45D
analogous
#5D7FB4 #665DB4 #915DB4
triadic
#665DB4 #B4665D #5DB466
tetradic
#665DB4 #B45D7F #ABB45D #5DB491
square
#665DB4 #B45D7F #ABB45D #5DB491
split-complementary
#665DB4 #B4915D #7FB45D
monochromatic
#353067 #4B4391 #665DB4 #8E87C7 #B5B1DB

Accessibility & contrast

On white

5.54
#665DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#665DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DB4#FFFFFF#000000##FFFFFF
##665DB41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#4E6F80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665db4;
/* rgb */ color: rgb(102, 93, 180);
/* oklch */ color: oklch(52.9% 0.133 285.6);
Tailwind
colors: {
  custom: {
    50: '#968bcb',
    500: '#665db4',
    950: '#000000',
  },
}
SCSS
$custom: #665db4;
$custom-light: #968bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#665db4",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 246.207,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.13298,
    "h": 285.6
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#665DB4
secondary
#C5C9A4
accent
#CD5BC1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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