#665EE5#665EE5

#665EE5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.5% C 0.198 H 280.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#665EE5
RGBrgb(102, 94, 229)
HSLhsl(244, 72%, 63%)
HSVhsv(244, 59%, 90%)
CMYKcmyk(55.5%, 59%, 0%, 10.2%)
CIE-LABlab(47.61, 40.19, -67.79)
CIE-LCHlch(47.61, 78.81, 300.67°)
OKLaboklab(56.48% 0.0365 -0.1945)
OKLCHoklch(56.48% 0.198 280.6)
XYZxyz(23.6206, 16.4858, 76.0509)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EE5 #DDE55E
analogous
#5E99E5 #665EE5 #AA5EE5
triadic
#665EE5 #E5665E #5EE566
tetradic
#665EE5 #E55E99 #DDE55E #5EE5AA
square
#665EE5 #E55E99 #DDE55E #5EE5AA
split-complementary
#665EE5 #E5AA5E #99E55E
monochromatic
#241CAD #3429DC #665EE5 #9893EE #CAC7F6

Accessibility & contrast

On white

4.89
#665EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#665EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EE5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EE5#FFFFFF#000000##FFFFFF
##665EE51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#257E98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665ee5;
/* rgb */ color: rgb(102, 94, 229);
/* oklch */ color: oklch(56.5% 0.198 280.6);
Tailwind
colors: {
  custom: {
    50: '#9c8cee',
    500: '#665ee5',
    950: '#000000',
  },
}
SCSS
$custom: #665ee5;
$custom-light: #9c8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#665ee5",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 243.556,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.19792,
    "h": 280.6
  },
  "luminance": 0.16487
}

Semantic roles & 50–950 ramp

primary
#665EE5
secondary
#E5E7B7
accent
#D411C9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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