#665CD4#665CD4

#665CD4 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.9% C 0.178 H 282.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#665CD4
RGBrgb(102, 92, 212)
HSLhsl(245, 58%, 60%)
HSVhsv(245, 57%, 83%)
CMYKcmyk(51.9%, 56.6%, 0%, 16.9%)
CIE-LABlab(45.95, 36.14, -60.81)
CIE-LCHlch(45.95, 70.74, 300.72°)
OKLaboklab(54.88% 0.0388 -0.174)
OKLCHoklch(54.88% 0.178 282.6)
XYZxyz(21.1867, 15.2314, 64.0981)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CD4 #CAD45C
analogous
#5C8ED4 #665CD4 #A25CD4
triadic
#665CD4 #D4665C #5CD466
tetradic
#665CD4 #D45C8E #CAD45C #5CD4A2
square
#665CD4 #D45C8E #CAD45C #5CD4A2
split-complementary
#665CD4 #D4A25C #8ED45C
monochromatic
#2F2690 #3E33C0 #665CD4 #938CE1 #C1BDEE

Accessibility & contrast

On white

5.19
#665CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#665CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CD4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CD4#FFFFFF#000000##FFFFFF
##665CD41.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#39788F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665cd4;
/* rgb */ color: rgb(102, 92, 212);
/* oklch */ color: oklch(54.9% 0.178 282.6);
Tailwind
colors: {
  custom: {
    50: '#9a8ae2',
    500: '#665cd4',
    950: '#000000',
  },
}
SCSS
$custom: #665cd4;
$custom-light: #9a8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#665cd4",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 245,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.17828,
    "h": 282.6
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#665CD4
secondary
#D9DDAF
accent
#E146D5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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