#665BB6#665BB6

#665BB6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.139 H 286.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#665BB6
RGBrgb(102, 91, 182)
HSLhsl(247, 38%, 54%)
HSVhsv(247, 50%, 71%)
CMYKcmyk(44%, 50%, 0%, 28.6%)
CIE-LABlab(43.78, 27.67, -46.96)
CIE-LCHlch(43.78, 54.51, 300.50°)
OKLaboklab(52.64% 0.0385 -0.1333)
OKLCHoklch(52.64% 0.139 286.1)
XYZxyz(17.6616, 13.6836, 45.9575)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BB6 #ABB65B
analogous
#5B7DB6 #665BB6 #935BB6
triadic
#665BB6 #B6665B #5BB666
tetradic
#665BB6 #B65B7D #ABB65B #5BB693
square
#665BB6 #B65B7D #ABB65B #5BB693
split-complementary
#665BB6 #B6935B #7DB65B
monochromatic
#352E68 #4B4193 #665BB6 #8E85C9 #B5B0DC

Accessibility & contrast

On white

5.62
#665BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#665BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BB6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BB6#FFFFFF#000000##FFFFFF
##665BB61.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346AB9
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#4D6E80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665bb6;
/* rgb */ color: rgb(102, 91, 182);
/* oklch */ color: oklch(52.6% 0.139 286.1);
Tailwind
colors: {
  custom: {
    50: '#9689cc',
    500: '#665bb6',
    950: '#000000',
  },
}
SCSS
$custom: #665bb6;
$custom-light: #9689cc;
$custom-dark: #000000;
JSON
{
  "hex": "#665bb6",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 247.253,
    "s": 38.397,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.13877,
    "h": 286.1
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#665BB6
secondary
#C5CAA3
accent
#CE59C0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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