#665BD8#665BD8

#665BD8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.185 H 282.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#665BD8
RGBrgb(102, 91, 216)
HSLhsl(245, 62%, 60%)
HSVhsv(245, 58%, 85%)
CMYKcmyk(52.8%, 57.9%, 0%, 15.3%)
CIE-LABlab(45.99, 37.97, -63.02)
CIE-LCHlch(45.99, 73.58, 301.06°)
OKLaboklab(55% 0.0398 -0.1805)
OKLCHoklch(55% 0.185 282.4)
XYZxyz(21.6115, 15.2636, 66.7598)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BD8 #CDD85B
analogous
#5B8ED8 #665BD8 #A45BD8
triadic
#665BD8 #D8665B #5BD866
tetradic
#665BD8 #D85B8E #CDD85B #5BD8A4
square
#665BD8 #D85B8E #CDD85B #5BD8A4
split-complementary
#665BD8 #D8A45B #8ED85B
monochromatic
#2D2395 #3D2FC7 #665BD8 #948CE4 #C2BEF0

Accessibility & contrast

On white

5.18
#665BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#665BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BD8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BD8#FFFFFF#000000##FFFFFF
##665BD81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #665bd8;
/* rgb */ color: rgb(102, 91, 216);
/* oklch */ color: oklch(55.0% 0.185 282.4);
Tailwind
colors: {
  custom: {
    50: '#9a8ae5',
    500: '#665bd8',
    950: '#000000',
  },
}
SCSS
$custom: #665bd8;
$custom-light: #9a8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#665bd8",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 245.28,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55,
    "c": 0.18486,
    "h": 282.4
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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