#665AD2#665AD2

#665AD2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.4% C 0.178 H 283.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#665AD2
RGBrgb(102, 90, 210)
HSLhsl(246, 57%, 59%)
HSVhsv(246, 57%, 82%)
CMYKcmyk(51.4%, 57.1%, 0%, 17.6%)
CIE-LABlab(45.34, 36.73, -60.64)
CIE-LCHlch(45.34, 70.90, 301.20°)
OKLaboklab(54.39% 0.0409 -0.1735)
OKLCHoklch(54.39% 0.178 283.3)
XYZxyz(20.7650, 14.7891, 62.7207)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AD2 #C6D25A
analogous
#5A8AD2 #665AD2 #A25AD2
triadic
#665AD2 #D2665A #5AD266
tetradic
#665AD2 #D25A8A #C6D25A #5AD2A2
square
#665AD2 #D25A8A #C6D25A #5AD2A2
split-complementary
#665AD2 #D2A25A #8AD25A
monochromatic
#30268C #4133BC #665AD2 #938ADF #BFBAEC

Accessibility & contrast

On white

5.31
#665AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#665AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AD2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AD2#FFFFFF#000000##FFFFFF
##665AD21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#3B768D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665ad2;
/* rgb */ color: rgb(102, 90, 210);
/* oklch */ color: oklch(54.4% 0.178 283.3);
Tailwind
colors: {
  custom: {
    50: '#9a89e1',
    500: '#665ad2',
    950: '#000000',
  },
}
SCSS
$custom: #665ad2;
$custom-light: #9a89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#665ad2",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 246,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.17828,
    "h": 283.3
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#665AD2
secondary
#D7DCAC
accent
#E047D1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #665AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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