#665FD2#665FD2

#665FD2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.172 H 281.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#665FD2
RGBrgb(102, 95, 210)
HSLhsl(244, 56%, 60%)
HSVhsv(244, 55%, 82%)
CMYKcmyk(51.4%, 54.8%, 0%, 17.6%)
CIE-LABlab(46.53, 33.72, -58.73)
CIE-LCHlch(46.53, 67.73, 299.86°)
OKLaboklab(55.27% 0.0355 -0.1679)
OKLCHoklch(55.27% 0.172 281.9)
XYZxyz(21.2010, 15.6612, 62.8660)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FD2 #CBD25F
analogous
#5F92D2 #665FD2 #9F5FD2
triadic
#665FD2 #D2665F #5FD266
tetradic
#665FD2 #D25F92 #CBD25F #5FD29F
square
#665FD2 #D25F92 #CBD25F #5FD29F
split-complementary
#665FD2 #D29F5F #92D25F
monochromatic
#2E288F #3E36BE #665FD2 #948FDF #C1BFED

Accessibility & contrast

On white

5.08
#665FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#665FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FD2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FD2#FFFFFF#000000##FFFFFF
##665FD21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1772D6
Deuteranopia (green-blind)
#016AD0
Tritanopia (blue-blind)
#3A798F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665fd2;
/* rgb */ color: rgb(102, 95, 210);
/* oklch */ color: oklch(55.3% 0.172 281.9);
Tailwind
colors: {
  custom: {
    50: '#998ce0',
    500: '#665fd2',
    950: '#000000',
  },
}
SCSS
$custom: #665fd2;
$custom-light: #998ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#665fd2",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 243.652,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.1716,
    "h": 281.9
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#665FD2
secondary
#DADDB0
accent
#DF48D6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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