#665DEC#665DEC

#665DEC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.208 H 280.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#665DEC
RGBrgb(102, 93, 236)
HSLhsl(244, 79%, 65%)
HSVhsv(244, 61%, 93%)
CMYKcmyk(56.8%, 60.6%, 0%, 7.5%)
CIE-LABlab(47.89, 42.95, -71.27)
CIE-LCHlch(47.89, 83.21, 301.07°)
OKLaboklab(56.85% 0.0372 -0.2048)
OKLCHoklch(56.85% 0.208 280.3)
XYZxyz(24.5294, 16.7080, 81.2730)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DEC #E3EC5D
analogous
#5D9CEC #665DEC #AD5DEC
triadic
#665DEC #EC665D #5DEC66
tetradic
#665DEC #EC5D9C #E3EC5D #5DECAD
square
#665DEC #EC5D9C #E3EC5D #5DECAD
split-complementary
#665DEC #ECAD5D #9CEC5D
monochromatic
#2016B9 #3226E6 #665DEC #9A94F2 #CDCBF9

Accessibility & contrast

On white

4.84
#665DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#665DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DEC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DEC#FFFFFF#000000##FFFFFF
##665DEC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#17809C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665dec;
/* rgb */ color: rgb(102, 93, 236);
/* oklch */ color: oklch(56.9% 0.208 280.3);
Tailwind
colors: {
  custom: {
    50: '#9d8bf3',
    500: '#665dec',
    950: '#000000',
  },
}
SCSS
$custom: #665dec;
$custom-light: #9d8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#665dec",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 243.776,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.20811,
    "h": 280.3
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#665DEC
secondary
#E8EBBA
accent
#DB0ACE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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