#665DEA#665DEA

#665DEA is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.206 H 280.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#665DEA
RGBrgb(102, 93, 234)
HSLhsl(244, 77%, 64%)
HSVhsv(244, 60%, 92%)
CMYKcmyk(56.4%, 60.3%, 0%, 8.2%)
CIE-LABlab(47.74, 42.33, -70.38)
CIE-LCHlch(47.74, 82.13, 301.02°)
OKLaboklab(56.69% 0.0373 -0.2022)
OKLCHoklch(56.69% 0.206 280.4)
XYZxyz(24.2405, 16.5924, 79.7512)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DEA #E1EA5D
analogous
#5D9BEA #665DEA #AD5DEA
triadic
#665DEA #EA665D #5DEA66
tetradic
#665DEA #EA5D9B #E1EA5D #5DEAAD
square
#665DEA #EA5D9B #E1EA5D #5DEAAD
split-complementary
#665DEA #EAAD5D #9BEA5D
monochromatic
#2217B5 #3327E3 #665DEA #9993F1 #CCC9F8

Accessibility & contrast

On white

4.86
#665DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#665DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DEA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DEA#FFFFFF#000000##FFFFFF
##665DEA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#1C7F9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665dea;
/* rgb */ color: rgb(102, 93, 234);
/* oklch */ color: oklch(56.7% 0.206 280.4);
Tailwind
colors: {
  custom: {
    50: '#9d8bf2',
    500: '#665dea',
    950: '#000000',
  },
}
SCSS
$custom: #665dea;
$custom-light: #9d8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#665dea",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 243.83,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.20557,
    "h": 280.4
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#665DEA
secondary
#E7EAB9
accent
#D90CCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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