#665CD8#665CD8

#665CD8 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.2% C 0.184 H 282.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#665CD8
RGBrgb(102, 92, 216)
HSLhsl(245, 61%, 60%)
HSVhsv(245, 57%, 85%)
CMYKcmyk(52.8%, 57.4%, 0%, 15.3%)
CIE-LABlab(46.23, 37.37, -62.65)
CIE-LCHlch(46.23, 72.95, 300.82°)
OKLaboklab(55.17% 0.0388 -0.1794)
OKLCHoklch(55.17% 0.184 282.2)
XYZxyz(21.6975, 15.4357, 66.7885)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD8 #CED85C
analogous
#5C90D8 #665CD8 #A45CD8
triadic
#665CD8 #D8665C #5CD866
tetradic
#665CD8 #D85C90 #CED85C #5CD8A4
square
#665CD8 #D85C90 #CED85C #5CD8A4
split-complementary
#665CD8 #D8A45C #90D85C
monochromatic
#2D2496 #3C30C7 #665CD8 #948DE4 #C3BFF0

Accessibility & contrast

On white

5.14
#665CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#665CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD8#FFFFFF#000000##FFFFFF
##665CD81.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#357991
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665cd8;
/* rgb */ color: rgb(102, 92, 216);
/* oklch */ color: oklch(55.2% 0.184 282.2);
Tailwind
colors: {
  custom: {
    50: '#9a8ae5',
    500: '#665cd8',
    950: '#000000',
  },
}
SCSS
$custom: #665cd8;
$custom-light: #9a8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd8",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 244.839,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.18356,
    "h": 282.2
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#665CD8
secondary
#DCE0B0
accent
#C91CBB
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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