#665CEB#665CEB

#665CEB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.208 H 280.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#665CEB
RGBrgb(102, 92, 235)
HSLhsl(244, 78%, 64%)
HSVhsv(244, 61%, 92%)
CMYKcmyk(56.6%, 60.9%, 0%, 7.8%)
CIE-LABlab(47.59, 43.22, -71.19)
CIE-LCHlch(47.59, 83.28, 301.26°)
OKLaboklab(56.61% 0.0382 -0.2045)
OKLCHoklch(56.61% 0.208 280.6)
XYZxyz(24.2973, 16.4756, 80.4809)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CEB #E1EB5C
analogous
#5C9AEB #665CEB #AE5CEB
triadic
#665CEB #EB665C #5CEB66
tetradic
#665CEB #EB5C9A #E1EB5C #5CEBAE
square
#665CEB #EB5C9A #E1EB5C #5CEBAE
split-complementary
#665CEB #EBAE5C #9AEB5C
monochromatic
#2216B6 #3325E4 #665CEB #9993F2 #CCC9F8

Accessibility & contrast

On white

4.89
#665CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#665CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CEB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CEB#FFFFFF#000000##FFFFFF
##665CEB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#1A7F9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665ceb;
/* rgb */ color: rgb(102, 92, 235);
/* oklch */ color: oklch(56.6% 0.208 280.6);
Tailwind
colors: {
  custom: {
    50: '#9d8bf2',
    500: '#665ceb',
    950: '#000000',
  },
}
SCSS
$custom: #665ceb;
$custom-light: #9d8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#665ceb",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 244.196,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.20806,
    "h": 280.6
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#665CEB
secondary
#E7EAB8
accent
#DA0BCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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