#665DCD#665DCD

#665DCD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.168 H 283.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#665DCD
RGBrgb(102, 93, 205)
HSLhsl(245, 53%, 58%)
HSVhsv(245, 55%, 80%)
CMYKcmyk(50.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(45.72, 33.39, -57.17)
CIE-LCHlch(45.72, 66.21, 300.29°)
OKLaboklab(54.56% 0.0376 -0.1633)
OKLCHoklch(54.56% 0.168 283)
XYZxyz(20.4100, 15.0602, 59.5772)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DCD #C4CD5D
analogous
#5D8CCD #665DCD #9E5DCD
triadic
#665DCD #CD665D #5DCD66
tetradic
#665DCD #CD5D8C #C4CD5D #5DCD9E
square
#665DCD #CD5D8C #C4CD5D #5DCD9E
split-complementary
#665DCD #CD9E5D #8CCD5D
monochromatic
#312986 #4238B5 #665DCD #928CDB #BEBBEA

Accessibility & contrast

On white

5.23
#665DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#665DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DCD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DCD#FFFFFF#000000##FFFFFF
##665DCD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#0C68CB
Tritanopia (blue-blind)
#3F768C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665dcd;
/* rgb */ color: rgb(102, 93, 205);
/* oklch */ color: oklch(54.6% 0.168 283.0);
Tailwind
colors: {
  custom: {
    50: '#998bdd',
    500: '#665dcd',
    950: '#000000',
  },
}
SCSS
$custom: #665dcd;
$custom-light: #998bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#665dcd",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 244.821,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.16758,
    "h": 283
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#665DCD
secondary
#D6D9AD
accent
#DC4CD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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