#665BD9#665BD9

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

Color values

HEX#665BD9
RGBrgb(102, 91, 217)
HSLhsl(245, 62%, 60%)
HSVhsv(245, 58%, 85%)
CMYKcmyk(53%, 58.1%, 0%, 14.9%)
CIE-LABlab(46.06, 38.27, -63.48)
CIE-LCHlch(46.06, 74.13, 301.09°)
OKLaboklab(55.07% 0.0398 -0.1819)
OKLCHoklch(55.07% 0.186 282.3)
XYZxyz(21.7411, 15.3154, 67.4427)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BD9 #CED95B
analogous
#5B8FD9 #665BD9 #A55BD9
triadic
#665BD9 #D9665B #5BD966
tetradic
#665BD9 #D95B8F #CED95B #5BD9A5
square
#665BD9 #D95B8F #CED95B #5BD9A5
split-complementary
#665BD9 #D9A55B #8FD95B
monochromatic
#2D2397 #3C2EC8 #665BD9 #948DE5 #C3BEF0

Accessibility & contrast

On white

5.17
#665BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#665BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BD9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BD9#FFFFFF#000000##FFFFFF
##665BD91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#347891
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665bd9;
/* rgb */ color: rgb(102, 91, 217);
/* oklch */ color: oklch(55.1% 0.186 282.3);
Tailwind
colors: {
  custom: {
    50: '#9b8ae6',
    500: '#665bd9',
    950: '#000000',
  },
}
SCSS
$custom: #665bd9;
$custom-light: #9b8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#665bd9",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 245.238,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55074,
    "c": 0.18617,
    "h": 282.3
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#665BD9
secondary
#DCE0B0
accent
#CA1BBB
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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