#665BD7#665BD7

#665BD7 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.9% C 0.184 H 282.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#665BD7
RGBrgb(102, 91, 215)
HSLhsl(245, 61%, 60%)
HSVhsv(245, 58%, 84%)
CMYKcmyk(52.6%, 57.7%, 0%, 15.7%)
CIE-LABlab(45.92, 37.66, -62.57)
CIE-LCHlch(45.92, 73.03, 301.04°)
OKLaboklab(54.93% 0.0398 -0.1792)
OKLCHoklch(54.93% 0.184 282.5)
XYZxyz(21.4826, 15.2120, 66.0810)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BD7 #CCD75B
analogous
#5B8ED7 #665BD7 #A45BD7
triadic
#665BD7 #D7665B #5BD766
tetradic
#665BD7 #D75B8E #CCD75B #5BD7A4
square
#665BD7 #D75B8E #CCD75B #5BD7A4
split-complementary
#665BD7 #D7A45B #8ED75B
monochromatic
#2E2494 #3D30C5 #665BD7 #948CE3 #C2BDEF

Accessibility & contrast

On white

5.19
#665BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#665BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BD7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BD7#FFFFFF#000000##FFFFFF
##665BD71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#367890
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665bd7;
/* rgb */ color: rgb(102, 91, 215);
/* oklch */ color: oklch(54.9% 0.184 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a8ae4',
    500: '#665bd7',
    950: '#000000',
  },
}
SCSS
$custom: #665bd7;
$custom-light: #9a8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#665bd7",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 245.323,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.18355,
    "h": 282.5
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#665BD7
secondary
#DBDFAF
accent
#E444D6
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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