#665EEA#665EEA

#665EEA is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.204 H 280.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#665EEA
RGBrgb(102, 94, 234)
HSLhsl(243, 77%, 64%)
HSVhsv(243, 60%, 92%)
CMYKcmyk(56.4%, 59.8%, 0%, 8.2%)
CIE-LABlab(47.97, 41.74, -70.02)
CIE-LCHlch(47.97, 81.52, 300.80°)
OKLaboklab(56.86% 0.0364 -0.2011)
OKLCHoklch(56.86% 0.204 280.2)
XYZxyz(24.3288, 16.7691, 79.7807)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EEA #E2EA5E
analogous
#5E9CEA #665EEA #AC5EEA
triadic
#665EEA #EA665E #5EEA66
tetradic
#665EEA #EA5E9C #E2EA5E #5EEAAC
square
#665EEA #EA5E9C #E2EA5E #5EEAAC
split-complementary
#665EEA #EAAC5E #9CEA5E
monochromatic
#2118B6 #3328E3 #665EEA #9994F1 #CDCAF8

Accessibility & contrast

On white

4.82
#665EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#665EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EEA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EEA#FFFFFF#000000##FFFFFF
##665EEA1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#1B809B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665eea;
/* rgb */ color: rgb(102, 94, 234);
/* oklch */ color: oklch(56.9% 0.204 280.2);
Tailwind
colors: {
  custom: {
    50: '#9d8cf2',
    500: '#665eea',
    950: '#000000',
  },
}
SCSS
$custom: #665eea;
$custom-light: #9d8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#665eea",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 243.429,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.20434,
    "h": 280.2
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#665EEA
secondary
#E7EABA
accent
#D90CCD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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