#665FD6#665FD6

#665FD6 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.177 H 281.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#665FD6
RGBrgb(102, 95, 214)
HSLhsl(244, 59%, 61%)
HSVhsv(244, 56%, 84%)
CMYKcmyk(52.3%, 55.6%, 0%, 16.1%)
CIE-LABlab(46.79, 34.95, -60.59)
CIE-LCHlch(46.79, 69.95, 299.98°)
OKLaboklab(55.55% 0.0356 -0.1733)
OKLCHoklch(55.55% 0.177 281.6)
XYZxyz(21.7056, 15.8630, 65.5234)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FD6 #CFD65F
analogous
#5F94D6 #665FD6 #A15FD6
triadic
#665FD6 #D6665F #5FD666
tetradic
#665FD6 #D65F94 #CFD65F #5FD6A1
square
#665FD6 #D65F94 #CFD65F #5FD6A1
split-complementary
#665FD6 #D6A15F #94D65F
monochromatic
#2D2695 #3B33C5 #665FD6 #9590E2 #C3C0EF

Accessibility & contrast

On white

5.03
#665FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#665FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FD6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FD6#FFFFFF#000000##FFFFFF
##665FD61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A73DA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#377A91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665fd6;
/* rgb */ color: rgb(102, 95, 214);
/* oklch */ color: oklch(55.5% 0.177 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a8ce3',
    500: '#665fd6',
    950: '#000000',
  },
}
SCSS
$custom: #665fd6;
$custom-light: #9a8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#665fd6",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 243.529,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.17695,
    "h": 281.6
  },
  "luminance": 0.15864
}

Semantic roles & 50–950 ramp

primary
#665FD6
secondary
#DCDFB2
accent
#C71FBD
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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