#665CD2#665CD2

#665CD2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.176 H 282.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#665CD2
RGBrgb(102, 92, 210)
HSLhsl(245, 57%, 59%)
HSVhsv(245, 56%, 82%)
CMYKcmyk(51.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(45.81, 35.53, -59.89)
CIE-LCHlch(45.81, 69.63, 300.68°)
OKLaboklab(54.74% 0.0388 -0.1713)
OKLCHoklch(54.74% 0.176 282.7)
XYZxyz(20.9360, 15.1311, 62.7777)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD2 #C8D25C
analogous
#5C8DD2 #665CD2 #A15CD2
triadic
#665CD2 #D2665C #5CD266
tetradic
#665CD2 #D25C8D #C8D25C #5CD2A1
square
#665CD2 #D25C8D #C8D25C #5CD2A1
split-complementary
#665CD2 #D2A15C #8DD25C
monochromatic
#2F278D #4034BD #665CD2 #938CDF #C0BCEC

Accessibility & contrast

On white

5.22
#665CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#665CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD2#FFFFFF#000000##FFFFFF
##665CD21.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0370D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#3B778E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665cd2;
/* rgb */ color: rgb(102, 92, 210);
/* oklch */ color: oklch(54.7% 0.176 282.7);
Tailwind
colors: {
  custom: {
    50: '#9a8ae1',
    500: '#665cd2',
    950: '#000000',
  },
}
SCSS
$custom: #665cd2;
$custom-light: #9a8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd2",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 245.085,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.17562,
    "h": 282.7
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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