#665CD1#665CD1

#665CD1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.174 H 282.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#665CD1
RGBrgb(102, 92, 209)
HSLhsl(245, 56%, 59%)
HSVhsv(245, 56%, 82%)
CMYKcmyk(51.2%, 56%, 0%, 18%)
CIE-LABlab(45.75, 35.22, -59.42)
CIE-LCHlch(45.75, 69.08, 300.66°)
OKLaboklab(54.66% 0.0387 -0.1699)
OKLCHoklch(54.66% 0.174 282.8)
XYZxyz(20.8118, 15.0814, 62.1236)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD1 #C7D15C
analogous
#5C8DD1 #665CD1 #A15CD1
triadic
#665CD1 #D1665C #5CD166
tetradic
#665CD1 #D15C8D #C7D15C #5CD1A1
square
#665CD1 #D15C8D #C7D15C #5CD1A1
split-complementary
#665CD1 #D1A15C #8DD15C
monochromatic
#30278B #4035BB #665CD1 #938CDE #C0BBEC

Accessibility & contrast

On white

5.23
#665CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#665CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD1#FFFFFF#000000##FFFFFF
##665CD11.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #665cd1;
/* rgb */ color: rgb(102, 92, 209);
/* oklch */ color: oklch(54.7% 0.174 282.8);
Tailwind
colors: {
  custom: {
    50: '#998ae0',
    500: '#665cd1',
    950: '#000000',
  },
}
SCSS
$custom: #665cd1;
$custom-light: #998ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd1",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 245.128,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.17429,
    "h": 282.8
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#665CD1
secondary
#D7DBAD
accent
#DF49D2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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