#665BA6#665BA6

#665BA6 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.6% C 0.116 H 288.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#665BA6
RGBrgb(102, 91, 166)
HSLhsl(249, 30%, 50%)
HSVhsv(249, 45%, 65%)
CMYKcmyk(38.6%, 45.2%, 0%, 34.9%)
CIE-LABlab(42.85, 22.98, -39.02)
CIE-LCHlch(42.85, 45.29, 300.50°)
OKLaboklab(51.65% 0.0366 -0.11)
OKLCHoklch(51.65% 0.116 288.4)
XYZxyz(16.1016, 13.0596, 37.7414)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BA6 #9BA65B
analogous
#5B75A6 #665BA6 #8B5BA6
triadic
#665BA6 #A6665B #5BA666
tetradic
#665BA6 #A65B75 #9BA65B #5BA68B
square
#665BA6 #A65B75 #9BA65B #5BA68B
split-complementary
#665BA6 #A68B5B #75A65B
monochromatic
#352F57 #4D457F #665BA6 #8B83BC #B0AAD1

Accessibility & contrast

On white

5.81
#665BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#665BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BA6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BA6#FFFFFF#000000##FFFFFF
##665BA61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A9
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#556A78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #665ba6;
/* rgb */ color: rgb(102, 91, 166);
/* oklch */ color: oklch(51.6% 0.116 288.4);
Tailwind
colors: {
  custom: {
    50: '#9589c1',
    500: '#665ba6',
    950: '#000000',
  },
}
SCSS
$custom: #665ba6;
$custom-light: #9589c1;
$custom-dark: #000000;
JSON
{
  "hex": "#665ba6",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 248.8,
    "s": 29.644,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.11596,
    "h": 288.4
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#665BA6
secondary
#BABF9E
accent
#C662B7
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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