#665CD9#665CD9

#665CD9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.185 H 282.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#665CD9
RGBrgb(102, 92, 217)
HSLhsl(245, 62%, 61%)
HSVhsv(245, 58%, 85%)
CMYKcmyk(53%, 57.6%, 0%, 14.9%)
CIE-LABlab(46.29, 37.68, -63.11)
CIE-LCHlch(46.29, 73.50, 300.84°)
OKLaboklab(55.25% 0.0388 -0.1808)
OKLCHoklch(55.25% 0.185 282.1)
XYZxyz(21.8272, 15.4875, 67.4714)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD9 #CFD95C
analogous
#5C90D9 #665CD9 #A45CD9
triadic
#665CD9 #D9665C #5CD966
tetradic
#665CD9 #D95C90 #CFD95C #5CD9A4
square
#665CD9 #D95C90 #CFD95C #5CD9A4
split-complementary
#665CD9 #D9A45C #90D95C
monochromatic
#2D2397 #3B2FC9 #665CD9 #958EE5 #C3BFF0

Accessibility & contrast

On white

5.12
#665CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#665CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD9#FFFFFF#000000##FFFFFF
##665CD91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#347992
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665cd9;
/* rgb */ color: rgb(102, 92, 217);
/* oklch */ color: oklch(55.2% 0.185 282.1);
Tailwind
colors: {
  custom: {
    50: '#9a8ae6',
    500: '#665cd9',
    950: '#000000',
  },
}
SCSS
$custom: #665cd9;
$custom-light: #9a8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd9",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 244.8,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.18487,
    "h": 282.1
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#665CD9
secondary
#DCE0B1
accent
#CA1CBC
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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