#665BDB#665BDB

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

Color values

HEX#665BDB
RGBrgb(102, 91, 219)
HSLhsl(245, 64%, 61%)
HSVhsv(245, 58%, 86%)
CMYKcmyk(53.4%, 58.4%, 0%, 14.1%)
CIE-LABlab(46.20, 38.89, -64.39)
CIE-LCHlch(46.20, 75.22, 301.13°)
OKLaboklab(55.22% 0.0397 -0.1845)
OKLCHoklch(55.22% 0.189 282.1)
XYZxyz(22.0028, 15.4201, 68.8211)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BDB #D0DB5B
analogous
#5B90DB #665BDB #A65BDB
triadic
#665BDB #DB665B #5BDB66
tetradic
#665BDB #DB5B90 #D0DB5B #5BDBA6
square
#665BDB #DB5B90 #D0DB5B #5BDBA6
split-complementary
#665BDB #DBA65B #90DB5B
monochromatic
#2C229A #3A2DCC #665BDB #958DE6 #C4BFF1

Accessibility & contrast

On white

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

On black

4.08
#665BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##665BDB#FFFFFF#000000##FFFFFF
##665BDB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#327992
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665bdb;
/* rgb */ color: rgb(102, 91, 219);
/* oklch */ color: oklch(55.2% 0.189 282.1);
Tailwind
colors: {
  custom: {
    50: '#9b8ae7',
    500: '#665bdb',
    950: '#000000',
  },
}
SCSS
$custom: #665bdb;
$custom-light: #9b8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#665bdb",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 245.156,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.18878,
    "h": 282.1
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#665BDB
secondary
#DDE1B1
accent
#CC1ABC
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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