#665DB9#665DB9

#665DB9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.140 H 285.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#665DB9
RGBrgb(102, 93, 185)
HSLhsl(246, 40%, 55%)
HSVhsv(246, 50%, 73%)
CMYKcmyk(44.9%, 49.7%, 0%, 27.5%)
CIE-LABlab(44.46, 27.34, -47.63)
CIE-LCHlch(44.46, 54.91, 299.85°)
OKLaboklab(53.21% 0.0363 -0.1352)
OKLCHoklch(53.21% 0.14 285)
XYZxyz(18.1483, 14.1555, 47.6656)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DB9 #B0B95D
analogous
#5D82B9 #665DB9 #945DB9
triadic
#665DB9 #B9665D #5DB966
tetradic
#665DB9 #B95D82 #B0B95D #5DB994
square
#665DB9 #B95D82 #B0B95D #5DB994
split-complementary
#665DB9 #B9945D #82B95D
monochromatic
#352F6D #4A4197 #665DB9 #8E88CB #B7B2DE

Accessibility & contrast

On white

5.48
#665DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#665DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DB9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DB9#FFFFFF#000000##FFFFFF
##665DB91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#4C7082
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665db9;
/* rgb */ color: rgb(102, 93, 185);
/* oklch */ color: oklch(53.2% 0.140 285.0);
Tailwind
colors: {
  custom: {
    50: '#968bce',
    500: '#665db9',
    950: '#000000',
  },
}
SCSS
$custom: #665db9;
$custom-light: #968bce;
$custom-dark: #000000;
JSON
{
  "hex": "#665db9",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 245.87,
    "s": 39.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.14004,
    "h": 285
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#665DB9
secondary
#C9CCA5
accent
#D058C4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #665DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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