#665BD1#665BD1

#665BD1 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.176 H 283.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#665BD1
RGBrgb(102, 91, 209)
HSLhsl(246, 56%, 59%)
HSVhsv(246, 56%, 82%)
CMYKcmyk(51.2%, 56.5%, 0%, 18%)
CIE-LABlab(45.51, 35.82, -59.80)
CIE-LCHlch(45.51, 69.71, 300.92°)
OKLaboklab(54.49% 0.0398 -0.171)
OKLCHoklch(54.49% 0.176 283.1)
XYZxyz(20.7257, 14.9093, 62.0949)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BD1 #C6D15B
analogous
#5B8BD1 #665BD1 #A15BD1
triadic
#665BD1 #D1665B #5BD166
tetradic
#665BD1 #D15B8B #C6D15B #5BD1A1
square
#665BD1 #D15B8B #C6D15B #5BD1A1
split-complementary
#665BD1 #D1A15B #8BD15B
monochromatic
#30278B #4134BA #665BD1 #938BDE #BFBBEC

Accessibility & contrast

On white

5.27
#665BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#665BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BD1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BD1#FFFFFF#000000##FFFFFF
##665BD11.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D5
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#3C768D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665bd1;
/* rgb */ color: rgb(102, 91, 209);
/* oklch */ color: oklch(54.5% 0.176 283.1);
Tailwind
colors: {
  custom: {
    50: '#998ae0',
    500: '#665bd1',
    950: '#000000',
  },
}
SCSS
$custom: #665bd1;
$custom-light: #998ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#665bd1",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 209
  },
  "hsl": {
    "h": 245.593,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.17562,
    "h": 283.1
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#665BD1
secondary
#D7DBAD
accent
#DF48D1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #665BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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