#665AEE#665AEE

#665AEE is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.214 H 280.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#665AEE
RGBrgb(102, 90, 238)
HSLhsl(245, 81%, 64%)
HSVhsv(245, 62%, 93%)
CMYKcmyk(57.1%, 62.2%, 0%, 6.7%)
CIE-LABlab(47.38, 45.31, -73.23)
CIE-LCHlch(47.38, 86.11, 301.75°)
OKLaboklab(56.52% 0.0398 -0.2105)
OKLCHoklch(56.52% 0.214 280.7)
XYZxyz(24.5634, 16.3085, 82.7258)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AEE #E2EE5A
analogous
#5A98EE #665AEE #B05AEE
triadic
#665AEE #EE665A #5AEE66
tetradic
#665AEE #EE5A98 #E2EE5A #5AEEB0
square
#665AEE #EE5A98 #E2EE5A #5AEEB0
split-complementary
#665AEE #EEB05A #98EE5A
monochromatic
#2113BA #3323E8 #665AEE #9991F4 #CDC9F9

Accessibility & contrast

On white

4.93
#665AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#665AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AEE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AEE#FFFFFF#000000##FFFFFF
##665AEE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#127F9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #665aee;
/* rgb */ color: rgb(102, 90, 238);
/* oklch */ color: oklch(56.5% 0.214 280.7);
Tailwind
colors: {
  custom: {
    50: '#9e89f5',
    500: '#665aee',
    950: '#000000',
  },
}
SCSS
$custom: #665aee;
$custom-light: #9e89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#665aee",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 244.865,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.21425,
    "h": 280.7
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#665AEE
secondary
#E7ECB8
accent
#DE08CC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #665AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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