#665CDB#665CDB

#665CDB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.4% C 0.187 H 281.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#665CDB
RGBrgb(102, 92, 219)
HSLhsl(245, 64%, 61%)
HSVhsv(245, 58%, 86%)
CMYKcmyk(53.4%, 58%, 0%, 14.1%)
CIE-LABlab(46.43, 38.29, -64.02)
CIE-LCHlch(46.43, 74.60, 300.89°)
OKLaboklab(55.39% 0.0387 -0.1834)
OKLCHoklch(55.39% 0.187 281.9)
XYZxyz(22.0889, 15.5922, 68.8498)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CDB #D1DB5C
analogous
#5C91DB #665CDB #A55CDB
triadic
#665CDB #DB665C #5CDB66
tetradic
#665CDB #DB5C91 #D1DB5C #5CDBA5
square
#665CDB #DB5C91 #D1DB5C #5CDBA5
split-complementary
#665CDB #DBA55C #91DB5C
monochromatic
#2C229A #3A2DCD #665CDB #958EE6 #C4C0F1

Accessibility & contrast

On white

5.10
#665CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#665CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CDB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CDB#FFFFFF#000000##FFFFFF
##665CDB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#327A93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665cdb;
/* rgb */ color: rgb(102, 92, 219);
/* oklch */ color: oklch(55.4% 0.187 281.9);
Tailwind
colors: {
  custom: {
    50: '#9b8ae7',
    500: '#665cdb',
    950: '#000000',
  },
}
SCSS
$custom: #665cdb;
$custom-light: #9b8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#665cdb",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 244.724,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.18748,
    "h": 281.9
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#665CDB
secondary
#DEE1B1
accent
#CC1ABE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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