#665DB8#665DB8

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

Color values

HEX#665DB8
RGBrgb(102, 93, 184)
HSLhsl(246, 39%, 54%)
HSVhsv(246, 49%, 72%)
CMYKcmyk(44.6%, 49.5%, 0%, 27.8%)
CIE-LABlab(44.40, 27.04, -47.14)
CIE-LCHlch(44.40, 54.34, 299.84°)
OKLaboklab(53.15% 0.0362 -0.1338)
OKLCHoklch(53.15% 0.139 285.1)
XYZxyz(18.0431, 14.1134, 47.1116)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DB8 #AFB85D
analogous
#5D82B8 #665DB8 #945DB8
triadic
#665DB8 #B8665D #5DB866
tetradic
#665DB8 #B85D82 #AFB85D #5DB894
square
#665DB8 #B85D82 #AFB85D #5DB894
split-complementary
#665DB8 #B8945D #82B85D
monochromatic
#352F6B #4A4296 #665DB8 #8E88CB #B6B2DD

Accessibility & contrast

On white

5.49
#665DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#665DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DB8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DB8#FFFFFF#000000##FFFFFF
##665DB81.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#3466B6
Tritanopia (blue-blind)
#4C7082
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665db8;
/* rgb */ color: rgb(102, 93, 184);
/* oklch */ color: oklch(53.1% 0.139 285.1);
Tailwind
colors: {
  custom: {
    50: '#968bce',
    500: '#665db8',
    950: '#000000',
  },
}
SCSS
$custom: #665db8;
$custom-light: #968bce;
$custom-dark: #000000;
JSON
{
  "hex": "#665db8",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 245.934,
    "s": 39.056,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.13864,
    "h": 285.1
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#665DB8
secondary
#C8CCA5
accent
#CF59C3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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