#665DDD#665DDD

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

Color values

HEX#665DDD
RGBrgb(102, 93, 221)
HSLhsl(244, 65%, 62%)
HSVhsv(244, 58%, 87%)
CMYKcmyk(53.8%, 57.9%, 0%, 13.3%)
CIE-LABlab(46.81, 38.31, -64.55)
CIE-LCHlch(46.81, 75.06, 300.69°)
OKLaboklab(55.71% 0.0377 -0.185)
OKLCHoklch(55.71% 0.189 281.5)
XYZxyz(22.4410, 15.8726, 70.2738)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DDD #D4DD5D
analogous
#5D94DD #665DDD #A65DDD
triadic
#665DDD #DD665D #5DDD66
tetradic
#665DDD #DD5D94 #D4DD5D #5DDDA6
square
#665DDD #DD5D94 #D4DD5D #5DDDA6
split-complementary
#665DDD #DDA65D #94DD5D
monochromatic
#2A219E #372CD1 #665DDD #9690E8 #C6C2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665DDD#FFFFFF#000000##FFFFFF
##665DDD1.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)
#0073E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#307B94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ddd;
/* rgb */ color: rgb(102, 93, 221);
/* oklch */ color: oklch(55.7% 0.189 281.5);
Tailwind
colors: {
  custom: {
    50: '#9b8be8',
    500: '#665ddd',
    950: '#000000',
  },
}
SCSS
$custom: #665ddd;
$custom-light: #9b8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#665ddd",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 244.219,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.18881,
    "h": 281.5
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#665DDD
secondary
#DFE3B3
accent
#CD18C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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