#665DD2#665DD2

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

Color values

HEX#665DD2
RGBrgb(102, 93, 210)
HSLhsl(245, 57%, 59%)
HSVhsv(245, 56%, 82%)
CMYKcmyk(51.4%, 55.7%, 0%, 17.6%)
CIE-LABlab(46.05, 34.93, -59.50)
CIE-LCHlch(46.05, 69.00, 300.41°)
OKLaboklab(54.91% 0.0377 -0.1702)
OKLCHoklch(54.91% 0.174 282.5)
XYZxyz(21.0232, 15.3055, 62.8068)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DD2 #C9D25D
analogous
#5D8FD2 #665DD2 #A05DD2
triadic
#665DD2 #D2665D #5DD266
tetradic
#665DD2 #D25D8F #C9D25D #5DD2A0
square
#665DD2 #D25D8F #C9D25D #5DD2A0
split-complementary
#665DD2 #D2A05D #8FD25D
monochromatic
#2F278D #3F35BD #665DD2 #938DDF #C0BDED

Accessibility & contrast

On white

5.17
#665DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665DD2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DD2#FFFFFF#000000##FFFFFF
##665DD21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#3B788E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665dd2;
/* rgb */ color: rgb(102, 93, 210);
/* oklch */ color: oklch(54.9% 0.174 282.5);
Tailwind
colors: {
  custom: {
    50: '#998be0',
    500: '#665dd2',
    950: '#000000',
  },
}
SCSS
$custom: #665dd2;
$custom-light: #998be0;
$custom-dark: #000000;
JSON
{
  "hex": "#665dd2",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 244.615,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.17428,
    "h": 282.5
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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