#665DF1#665DF1

#665DF1 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.214 H 279.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#665DF1
RGBrgb(102, 93, 241)
HSLhsl(244, 84%, 65%)
HSVhsv(244, 61%, 95%)
CMYKcmyk(57.7%, 61.4%, 0%, 5.5%)
CIE-LABlab(48.26, 44.49, -73.47)
CIE-LCHlch(48.26, 85.89, 301.20°)
OKLaboklab(57.24% 0.0369 -0.2112)
OKLCHoklch(57.24% 0.214 279.9)
XYZxyz(25.2660, 17.0026, 85.1525)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DF1 #E8F15D
analogous
#5D9EF1 #665DF1 #B05DF1
triadic
#665DF1 #F1665D #5DF166
tetradic
#665DF1 #F15D9E #E8F15D #5DF1B0
square
#665DF1 #F15D9E #E8F15D #5DF1B0
split-complementary
#665DF1 #F1B05D #9EF15D
monochromatic
#1C11C3 #3125EC #665DF1 #9B95F6 #D0CEFB

Accessibility & contrast

On white

4.77
#665DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#665DF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DF1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DF1#FFFFFF#000000##FFFFFF
##665DF11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006DEE
Tritanopia (blue-blind)
#04819E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #665df1;
/* rgb */ color: rgb(102, 93, 241);
/* oklch */ color: oklch(57.2% 0.214 279.9);
Tailwind
colors: {
  custom: {
    50: '#9e8bf7',
    500: '#665df1',
    950: '#000000',
  },
}
SCSS
$custom: #665df1;
$custom-light: #9e8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#665df1",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 243.649,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.21442,
    "h": 279.9
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#665DF1
secondary
#EBEEBC
accent
#E105D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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