#665BC1#665BC1

#665BC1 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.154 H 284.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#665BC1
RGBrgb(102, 91, 193)
HSLhsl(246, 45%, 56%)
HSVhsv(246, 53%, 76%)
CMYKcmyk(47.2%, 52.8%, 0%, 24.3%)
CIE-LABlab(44.46, 30.96, -52.28)
CIE-LCHlch(44.46, 60.76, 300.64°)
OKLaboklab(53.37% 0.0394 -0.1489)
OKLCHoklch(53.37% 0.154 284.8)
XYZxyz(18.8434, 14.1563, 52.1813)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BC1 #B6C15B
analogous
#5B83C1 #665BC1 #995BC1
triadic
#665BC1 #C1665B #5BC166
tetradic
#665BC1 #C15B83 #B6C15B #5BC199
square
#665BC1 #C15B83 #B6C15B #5BC199
split-complementary
#665BC1 #C1995B #83C15B
monochromatic
#342C75 #483DA2 #665BC1 #8F87D2 #B9B4E3

Accessibility & contrast

On white

5.48
#665BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#665BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BC1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BC1#FFFFFF#000000##FFFFFF
##665BC11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286CC5
Deuteranopia (green-blind)
#2466BF
Tritanopia (blue-blind)
#477185
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665bc1;
/* rgb */ color: rgb(102, 91, 193);
/* oklch */ color: oklch(53.4% 0.154 284.8);
Tailwind
colors: {
  custom: {
    50: '#9789d4',
    500: '#665bc1',
    950: '#000000',
  },
}
SCSS
$custom: #665bc1;
$custom-light: #9789d4;
$custom-dark: #000000;
JSON
{
  "hex": "#665bc1",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 246.471,
    "s": 45.133,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.15403,
    "h": 284.8
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#665BC1
secondary
#CDD1A7
accent
#D553C7
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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