#665CEA#665CEA

#665CEA is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.207 H 280.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#665CEA
RGBrgb(102, 92, 234)
HSLhsl(244, 77%, 64%)
HSVhsv(244, 61%, 92%)
CMYKcmyk(56.4%, 60.7%, 0%, 8.2%)
CIE-LABlab(47.52, 42.92, -70.75)
CIE-LCHlch(47.52, 82.75, 301.24°)
OKLaboklab(56.53% 0.0382 -0.2032)
OKLCHoklch(56.53% 0.207 280.6)
XYZxyz(24.1533, 16.4180, 79.7222)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CEA #E0EA5C
analogous
#5C99EA #665CEA #AD5CEA
triadic
#665CEA #EA665C #5CEA66
tetradic
#665CEA #EA5C99 #E0EA5C #5CEAAD
square
#665CEA #EA5C99 #E0EA5C #5CEAAD
split-complementary
#665CEA #EAAD5C #99EA5C
monochromatic
#2217B4 #3326E3 #665CEA #9992F1 #CCC8F8

Accessibility & contrast

On white

4.90
#665CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#665CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CEA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CEA#FFFFFF#000000##FFFFFF
##665CEA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#1C7F9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665cea;
/* rgb */ color: rgb(102, 92, 234);
/* oklch */ color: oklch(56.5% 0.207 280.6);
Tailwind
colors: {
  custom: {
    50: '#9d8bf2',
    500: '#665cea',
    950: '#000000',
  },
}
SCSS
$custom: #665cea;
$custom-light: #9d8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#665cea",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 244.225,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.20679,
    "h": 280.6
  },
  "luminance": 0.1642
}

Semantic roles & 50–950 ramp

primary
#665CEA
secondary
#E6EAB8
accent
#D90CCB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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