#665DD4#665DD4

#665DD4 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.1% C 0.177 H 282.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#665DD4
RGBrgb(102, 93, 212)
HSLhsl(245, 58%, 60%)
HSVhsv(245, 56%, 83%)
CMYKcmyk(51.9%, 56.1%, 0%, 16.9%)
CIE-LABlab(46.18, 35.54, -60.43)
CIE-LCHlch(46.18, 70.11, 300.46°)
OKLaboklab(55.06% 0.0377 -0.1729)
OKLCHoklch(55.06% 0.177 282.3)
XYZxyz(21.2739, 15.4057, 64.1272)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DD4 #CBD45D
analogous
#5D8FD4 #665DD4 #A25DD4
triadic
#665DD4 #D4665D #5DD466
tetradic
#665DD4 #D45D8F #CBD45D #5DD4A2
square
#665DD4 #D45D8F #CBD45D #5DD4A2
split-complementary
#665DD4 #D4A25D #8FD45D
monochromatic
#2E2690 #3E33C1 #665DD4 #948DE1 #C1BEEE

Accessibility & contrast

On white

5.15
#665DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#665DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DD4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DD4#FFFFFF#000000##FFFFFF
##665DD41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0271D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#39788F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665dd4;
/* rgb */ color: rgb(102, 93, 212);
/* oklch */ color: oklch(55.1% 0.177 282.3);
Tailwind
colors: {
  custom: {
    50: '#9a8be2',
    500: '#665dd4',
    950: '#000000',
  },
}
SCSS
$custom: #665dd4;
$custom-light: #9a8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#665dd4",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 244.538,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.17694,
    "h": 282.3
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#665DD4
secondary
#DADDAF
accent
#E147D6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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