#665DC2#665DC2

#665DC2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.153 H 284.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#665DC2
RGBrgb(102, 93, 194)
HSLhsl(245, 45%, 56%)
HSVhsv(245, 52%, 76%)
CMYKcmyk(47.4%, 52.1%, 0%, 23.9%)
CIE-LABlab(45.01, 30.05, -51.97)
CIE-LCHlch(45.01, 60.03, 300.03°)
OKLaboklab(53.8% 0.0371 -0.148)
OKLCHoklch(53.8% 0.153 284.1)
XYZxyz(19.1286, 14.5476, 52.8285)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DC2 #B9C25D
analogous
#5D87C2 #665DC2 #995DC2
triadic
#665DC2 #C2665D #5DC266
tetradic
#665DC2 #C25D87 #B9C25D #5DC299
square
#665DC2 #C25D87 #B9C25D #5DC299
split-complementary
#665DC2 #C2995D #87C25D
monochromatic
#342D78 #473EA4 #665DC2 #9089D3 #BAB6E3

Accessibility & contrast

On white

5.37
#665DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#665DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DC2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DC2#FFFFFF#000000##FFFFFF
##665DC21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#2767C0
Tritanopia (blue-blind)
#467386
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665dc2;
/* rgb */ color: rgb(102, 93, 194);
/* oklch */ color: oklch(53.8% 0.153 284.1);
Tailwind
colors: {
  custom: {
    50: '#978bd5',
    500: '#665dc2',
    950: '#000000',
  },
}
SCSS
$custom: #665dc2;
$custom-light: #978bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#665dc2",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 245.347,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.15257,
    "h": 284.1
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#665DC2
secondary
#CED2A9
accent
#D553C9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #665DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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