#665ED2#665ED2

#665ED2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.173 H 282.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#665ED2
RGBrgb(102, 94, 210)
HSLhsl(244, 56%, 60%)
HSVhsv(244, 55%, 82%)
CMYKcmyk(51.4%, 55.2%, 0%, 17.6%)
CIE-LABlab(46.29, 34.32, -59.12)
CIE-LCHlch(46.29, 68.36, 300.14°)
OKLaboklab(55.09% 0.0366 -0.169)
OKLCHoklch(55.09% 0.173 282.2)
XYZxyz(21.1115, 15.4822, 62.8362)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ED2 #CAD25E
analogous
#5E90D2 #665ED2 #A05ED2
triadic
#665ED2 #D2665E #5ED266
tetradic
#665ED2 #D25E90 #CAD25E #5ED2A0
square
#665ED2 #D25E90 #CAD25E #5ED2A0
split-complementary
#665ED2 #D2A05E #90D25E
monochromatic
#2F288E #3E35BE #665ED2 #938EDF #C1BEED

Accessibility & contrast

On white

5.13
#665ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#665ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ED2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ED2#FFFFFF#000000##FFFFFF
##665ED21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1272D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#3A788F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ed2;
/* rgb */ color: rgb(102, 94, 210);
/* oklch */ color: oklch(55.1% 0.173 282.2);
Tailwind
colors: {
  custom: {
    50: '#998ce0',
    500: '#665ed2',
    950: '#000000',
  },
}
SCSS
$custom: #665ed2;
$custom-light: #998ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ed2",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 244.138,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.17294,
    "h": 282.2
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#665ED2
secondary
#D9DCAF
accent
#E048D5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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