#665DD7#665DD7

#665DD7 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.181 H 282.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#665DD7
RGBrgb(102, 93, 215)
HSLhsl(244, 60%, 60%)
HSVhsv(244, 57%, 84%)
CMYKcmyk(52.6%, 56.7%, 0%, 15.7%)
CIE-LABlab(46.39, 36.46, -61.81)
CIE-LCHlch(46.39, 71.77, 300.54°)
OKLaboklab(55.27% 0.0377 -0.1769)
OKLCHoklch(55.27% 0.181 282)
XYZxyz(21.6558, 15.5585, 66.1388)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DD7 #CED75D
analogous
#5D91D7 #665DD7 #A35DD7
triadic
#665DD7 #D7665D #5DD766
tetradic
#665DD7 #D75D91 #CED75D #5DD7A3
square
#665DD7 #D75D91 #CED75D #5DD7A3
split-complementary
#665DD7 #D7A35D #91D75D
monochromatic
#2D2595 #3C31C6 #665DD7 #948EE3 #C3BFEF

Accessibility & contrast

On white

5.11
#665DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#665DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DD7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DD7#FFFFFF#000000##FFFFFF
##665DD71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#367991
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665dd7;
/* rgb */ color: rgb(102, 93, 215);
/* oklch */ color: oklch(55.3% 0.181 282.0);
Tailwind
colors: {
  custom: {
    50: '#9a8be4',
    500: '#665dd7',
    950: '#000000',
  },
}
SCSS
$custom: #665dd7;
$custom-light: #9a8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#665dd7",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 244.426,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.18093,
    "h": 282
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#665DD7
secondary
#DCDFB1
accent
#C81DBB
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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