#665EE4#665EE4

#665EE4 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.4% C 0.197 H 280.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#665EE4
RGBrgb(102, 94, 228)
HSLhsl(244, 71%, 63%)
HSVhsv(244, 59%, 89%)
CMYKcmyk(55.3%, 58.8%, 0%, 10.6%)
CIE-LABlab(47.53, 39.88, -67.34)
CIE-LCHlch(47.53, 78.26, 300.64°)
OKLaboklab(56.41% 0.0366 -0.1932)
OKLCHoklch(56.41% 0.197 280.7)
XYZxyz(23.4814, 16.4301, 75.3177)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EE4 #DCE45E
analogous
#5E99E4 #665EE4 #A95EE4
triadic
#665EE4 #E4665E #5EE466
tetradic
#665EE4 #E45E99 #DCE45E #5EE4A9
square
#665EE4 #E45E99 #DCE45E #5EE4A9
split-complementary
#665EE4 #E4A95E #99E45E
monochromatic
#251DAB #342ADB #665EE4 #9892ED #CAC7F6

Accessibility & contrast

On white

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

On black

4.29
#665EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##665EE4#FFFFFF#000000##FFFFFF
##665EE41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#267E98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665ee4;
/* rgb */ color: rgb(102, 94, 228);
/* oklch */ color: oklch(56.4% 0.197 280.7);
Tailwind
colors: {
  custom: {
    50: '#9c8ced',
    500: '#665ee4',
    950: '#000000',
  },
}
SCSS
$custom: #665ee4;
$custom-light: #9c8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#665ee4",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 243.582,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.19663,
    "h": 280.7
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#665EE4
secondary
#E4E7B7
accent
#D312C8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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