#665BEA#665BEA

#665BEA is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.208 H 280.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#665BEA
RGBrgb(102, 91, 234)
HSLhsl(245, 77%, 64%)
HSVhsv(245, 61%, 92%)
CMYKcmyk(56.4%, 61.1%, 0%, 8.2%)
CIE-LABlab(47.30, 43.50, -71.11)
CIE-LCHlch(47.30, 83.36, 301.45°)
OKLaboklab(56.37% 0.0391 -0.2043)
OKLCHoklch(56.37% 0.208 280.8)
XYZxyz(24.0672, 16.2459, 79.6935)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BEA #DFEA5B
analogous
#5B97EA #665BEA #AD5BEA
triadic
#665BEA #EA665B #5BEA66
tetradic
#665BEA #EA5B97 #DFEA5B #5BEAAD
square
#665BEA #EA5B97 #DFEA5B #5BEAAD
split-complementary
#665BEA #EAAD5B #97EA5B
monochromatic
#2317B4 #3325E3 #665BEA #9991F1 #CBC8F8

Accessibility & contrast

On white

4.94
#665BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#665BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BEA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BEA#FFFFFF#000000##FFFFFF
##665BEA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#1C7E9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #665bea;
/* rgb */ color: rgb(102, 91, 234);
/* oklch */ color: oklch(56.4% 0.208 280.8);
Tailwind
colors: {
  custom: {
    50: '#9d8af2',
    500: '#665bea',
    950: '#000000',
  },
}
SCSS
$custom: #665bea;
$custom-light: #9d8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#665bea",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 244.615,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56368,
    "c": 0.20801,
    "h": 280.8
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#665BEA
secondary
#E6EAB7
accent
#DA0CCA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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