#665CD5#665CD5

#665CD5 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.180 H 282.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#665CD5
RGBrgb(102, 92, 213)
HSLhsl(245, 59%, 60%)
HSVhsv(245, 57%, 84%)
CMYKcmyk(52.1%, 56.8%, 0%, 16.5%)
CIE-LABlab(46.02, 36.45, -61.27)
CIE-LCHlch(46.02, 71.29, 300.75°)
OKLaboklab(54.95% 0.0388 -0.1754)
OKLCHoklch(54.95% 0.18 282.5)
XYZxyz(21.3132, 15.2820, 64.7645)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD5 #CBD55C
analogous
#5C8ED5 #665CD5 #A35CD5
triadic
#665CD5 #D5665C #5CD566
tetradic
#665CD5 #D55C8E #CBD55C #5CD5A3
square
#665CD5 #D55C8E #CBD55C #5CD5A3
split-complementary
#665CD5 #D5A35C #8ED55C
monochromatic
#2E2591 #3E32C2 #665CD5 #948DE2 #C1BDEE

Accessibility & contrast

On white

5.18
#665CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#665CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD5#FFFFFF#000000##FFFFFF
##665CD51.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#387890
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665cd5;
/* rgb */ color: rgb(102, 92, 213);
/* oklch */ color: oklch(55.0% 0.180 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a8ae3',
    500: '#665cd5',
    950: '#000000',
  },
}
SCSS
$custom: #665cd5;
$custom-light: #9a8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd5",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 244.959,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.17959,
    "h": 282.5
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#665CD5
secondary
#DADEAF
accent
#E246D5
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C15
muted
#7F7D84

Preview Lab

Preview with #665CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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