#665BE7#665BE7

#665BE7 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.204 H 281.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#665BE7
RGBrgb(102, 91, 231)
HSLhsl(245, 74%, 63%)
HSVhsv(245, 61%, 91%)
CMYKcmyk(55.8%, 60.6%, 0%, 9.4%)
CIE-LABlab(47.07, 42.58, -69.78)
CIE-LCHlch(47.07, 81.74, 301.39°)
OKLaboklab(56.14% 0.0393 -0.2004)
OKLCHoklch(56.14% 0.204 281.1)
XYZxyz(23.6399, 16.0749, 77.4429)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BE7 #DCE75B
analogous
#5B96E7 #665BE7 #AC5BE7
triadic
#665BE7 #E7665B #5BE766
tetradic
#665BE7 #E75B96 #DCE75B #5BE7AC
square
#665BE7 #E75B96 #DCE75B #5BE7AC
split-complementary
#665BE7 #E7AC5B #96E75B
monochromatic
#2519AE #3426DF #665BE7 #9890EF #CAC6F7

Accessibility & contrast

On white

4.98
#665BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#665BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BE7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BE7#FFFFFF#000000##FFFFFF
##665BE71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#227D98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #665be7;
/* rgb */ color: rgb(102, 91, 231);
/* oklch */ color: oklch(56.1% 0.204 281.1);
Tailwind
colors: {
  custom: {
    50: '#9d8af0',
    500: '#665be7',
    950: '#000000',
  },
}
SCSS
$custom: #665be7;
$custom-light: #9d8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#665be7",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 244.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.20421,
    "h": 281.1
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#665BE7
secondary
#E4E8B6
accent
#D70FC7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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