#665DD1#665DD1

#665DD1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.173 H 282.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#665DD1
RGBrgb(102, 93, 209)
HSLhsl(245, 56%, 59%)
HSVhsv(245, 56%, 82%)
CMYKcmyk(51.2%, 55.5%, 0%, 18%)
CIE-LABlab(45.98, 34.62, -59.04)
CIE-LCHlch(45.98, 68.44, 300.39°)
OKLaboklab(54.84% 0.0377 -0.1688)
OKLCHoklch(54.84% 0.173 282.6)
XYZxyz(20.8990, 15.2558, 62.1527)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DD1 #C8D15D
analogous
#5D8ED1 #665DD1 #A05DD1
triadic
#665DD1 #D1665D #5DD166
tetradic
#665DD1 #D15D8E #C8D15D #5DD1A0
square
#665DD1 #D15D8E #C8D15D #5DD1A0
split-complementary
#665DD1 #D1A05D #8ED15D
monochromatic
#2F288C #4035BC #665DD1 #938DDF #C0BCEC

Accessibility & contrast

On white

5.18
#665DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#665DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DD1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DD1#FFFFFF#000000##FFFFFF
##665DD11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F71D5
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#3B778E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665dd1;
/* rgb */ color: rgb(102, 93, 209);
/* oklch */ color: oklch(54.8% 0.173 282.6);
Tailwind
colors: {
  custom: {
    50: '#998be0',
    500: '#665dd1',
    950: '#000000',
  },
}
SCSS
$custom: #665dd1;
$custom-light: #998be0;
$custom-dark: #000000;
JSON
{
  "hex": "#665dd1",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 209
  },
  "hsl": {
    "h": 244.655,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.17295,
    "h": 282.6
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#665DD1
secondary
#D8DCAE
accent
#DF49D3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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