#665CD3#665CD3

#665CD3 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.177 H 282.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#665CD3
RGBrgb(102, 92, 211)
HSLhsl(245, 57%, 59%)
HSVhsv(245, 56%, 83%)
CMYKcmyk(51.7%, 56.4%, 0%, 17.3%)
CIE-LABlab(45.88, 35.83, -60.35)
CIE-LCHlch(45.88, 70.19, 300.70°)
OKLaboklab(54.81% 0.0388 -0.1726)
OKLCHoklch(54.81% 0.177 282.7)
XYZxyz(21.0609, 15.1811, 63.4359)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD3 #C9D35C
analogous
#5C8ED3 #665CD3 #A25CD3
triadic
#665CD3 #D3665C #5CD366
tetradic
#665CD3 #D35C8E #C9D35C #5CD3A2
square
#665CD3 #D35C8E #C9D35C #5CD3A2
split-complementary
#665CD3 #D3A25C #8ED35C
monochromatic
#2F268E #3F33BE #665CD3 #938CE0 #C0BCED

Accessibility & contrast

On white

5.20
#665CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#665CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD3#FFFFFF#000000##FFFFFF
##665CD31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#3A778F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665cd3;
/* rgb */ color: rgb(102, 92, 211);
/* oklch */ color: oklch(54.8% 0.177 282.7);
Tailwind
colors: {
  custom: {
    50: '#9a8ae1',
    500: '#665cd3',
    950: '#000000',
  },
}
SCSS
$custom: #665cd3;
$custom-light: #9a8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd3",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 245.042,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.17695,
    "h": 282.7
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#665CD3
secondary
#D9DDAE
accent
#E147D4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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