#665BB8#665BB8

#665BB8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.142 H 285.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#665BB8
RGBrgb(102, 91, 184)
HSLhsl(247, 40%, 54%)
HSVhsv(247, 51%, 72%)
CMYKcmyk(44.6%, 50.5%, 0%, 27.8%)
CIE-LABlab(43.90, 28.26, -47.94)
CIE-LCHlch(43.90, 55.65, 300.52°)
OKLaboklab(52.77% 0.0387 -0.1362)
OKLCHoklch(52.77% 0.142 285.9)
XYZxyz(17.8698, 13.7669, 47.0538)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BB8 #ADB85B
analogous
#5B7FB8 #665BB8 #955BB8
triadic
#665BB8 #B8665B #5BB866
tetradic
#665BB8 #B85B7F #ADB85B #5BB895
square
#665BB8 #B85B7F #ADB85B #5BB895
split-complementary
#665BB8 #B8955B #7FB85B
monochromatic
#352E6A #4B4195 #665BB8 #8E86CA #B6B0DD

Accessibility & contrast

On white

5.59
#665BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#665BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BB8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BB8#FFFFFF#000000##FFFFFF
##665BB81.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#4C6F81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665bb8;
/* rgb */ color: rgb(102, 91, 184);
/* oklch */ color: oklch(52.8% 0.142 285.9);
Tailwind
colors: {
  custom: {
    50: '#9689ce',
    500: '#665bb8',
    950: '#000000',
  },
}
SCSS
$custom: #665bb8;
$custom-light: #9689ce;
$custom-dark: #000000;
JSON
{
  "hex": "#665bb8",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 247.097,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.14157,
    "h": 285.9
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#665BB8
secondary
#C7CBA4
accent
#CF58C1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #665BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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