#665BC6#665BC6

#665BC6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.161 H 284.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#665BC6
RGBrgb(102, 91, 198)
HSLhsl(246, 48%, 57%)
HSVhsv(246, 54%, 78%)
CMYKcmyk(48.5%, 54%, 0%, 22.4%)
CIE-LABlab(44.78, 32.47, -54.65)
CIE-LCHlch(44.78, 63.57, 300.72°)
OKLaboklab(53.71% 0.0396 -0.1559)
OKLCHoklch(53.71% 0.161 284.2)
XYZxyz(19.4106, 14.3832, 55.1686)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BC6 #BBC65B
analogous
#5B86C6 #665BC6 #9C5BC6
triadic
#665BC6 #C6665B #5BC666
tetradic
#665BC6 #C65B86 #BBC65B #5BC69C
square
#665BC6 #C65B86 #BBC65B #5BC69C
split-complementary
#665BC6 #C69C5B #86C65B
monochromatic
#332B7C #463BA9 #665BC6 #9088D6 #BBB6E6

Accessibility & contrast

On white

5.42
#665BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#665BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BC6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BC6#FFFFFF#000000##FFFFFF
##665BC61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206DCA
Deuteranopia (green-blind)
#1A67C4
Tritanopia (blue-blind)
#447388
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665bc6;
/* rgb */ color: rgb(102, 91, 198);
/* oklch */ color: oklch(53.7% 0.161 284.2);
Tailwind
colors: {
  custom: {
    50: '#9889d8',
    500: '#665bc6',
    950: '#000000',
  },
}
SCSS
$custom: #665bc6;
$custom-light: #9889d8;
$custom-dark: #000000;
JSON
{
  "hex": "#665bc6",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 246.168,
    "s": 48.416,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.16086,
    "h": 284.2
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#665BC6
secondary
#D0D4A9
accent
#D850CA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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