#665CD7#665CD7

#665CD7 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.1% C 0.182 H 282.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#665CD7
RGBrgb(102, 92, 215)
HSLhsl(245, 61%, 60%)
HSVhsv(245, 57%, 84%)
CMYKcmyk(52.6%, 57.2%, 0%, 15.7%)
CIE-LABlab(46.16, 37.06, -62.19)
CIE-LCHlch(46.16, 72.40, 300.79°)
OKLaboklab(55.1% 0.0388 -0.1781)
OKLCHoklch(55.1% 0.182 282.3)
XYZxyz(21.5686, 15.3841, 66.1097)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD7 #CDD75C
analogous
#5C8FD7 #665CD7 #A35CD7
triadic
#665CD7 #D7665C #5CD766
tetradic
#665CD7 #D75C8F #CDD75C #5CD7A3
square
#665CD7 #D75C8F #CDD75C #5CD7A3
split-complementary
#665CD7 #D7A35C #8FD75C
monochromatic
#2D2494 #3D30C5 #665CD7 #948DE3 #C2BEEF

Accessibility & contrast

On white

5.15
#665CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#665CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD7#FFFFFF#000000##FFFFFF
##665CD71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#367891
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665cd7;
/* rgb */ color: rgb(102, 92, 215);
/* oklch */ color: oklch(55.1% 0.182 282.3);
Tailwind
colors: {
  custom: {
    50: '#9a8ae4',
    500: '#665cd7',
    950: '#000000',
  },
}
SCSS
$custom: #665cd7;
$custom-light: #9a8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd7",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 244.878,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.18224,
    "h": 282.3
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#665CD7
secondary
#DBDFB0
accent
#C81DBA
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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