#665BEB#665BEB

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

Color values

HEX#665BEB
RGBrgb(102, 91, 235)
HSLhsl(245, 78%, 64%)
HSVhsv(245, 61%, 92%)
CMYKcmyk(56.6%, 61.3%, 0%, 7.8%)
CIE-LABlab(47.37, 43.81, -71.55)
CIE-LCHlch(47.37, 83.90, 301.48°)
OKLaboklab(56.45% 0.0391 -0.2056)
OKLCHoklch(56.45% 0.209 280.8)
XYZxyz(24.2113, 16.3035, 80.4522)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BEB #E0EB5B
analogous
#5B98EB #665BEB #AE5BEB
triadic
#665BEB #EB665B #5BEB66
tetradic
#665BEB #EB5B98 #E0EB5B #5BEBAE
square
#665BEB #EB5B98 #E0EB5B #5BEBAE
split-complementary
#665BEB #EBAE5B #98EB5B
monochromatic
#2216B5 #3324E4 #665BEB #9992F2 #CCC8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665BEB#FFFFFF#000000##FFFFFF
##665BEB1.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)
#0076F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#1A7E9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #665beb;
/* rgb */ color: rgb(102, 91, 235);
/* oklch */ color: oklch(56.4% 0.209 280.8);
Tailwind
colors: {
  custom: {
    50: '#9d8af2',
    500: '#665beb',
    950: '#000000',
  },
}
SCSS
$custom: #665beb;
$custom-light: #9d8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#665beb",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 244.583,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.20928,
    "h": 280.8
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#665BEB
secondary
#E6EAB8
accent
#DB0BCB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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