#665CC4#665CC4

#665CC4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.157 H 284.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#665CC4
RGBrgb(102, 92, 196)
HSLhsl(246, 47%, 56%)
HSVhsv(246, 53%, 77%)
CMYKcmyk(48%, 53.1%, 0%, 23.1%)
CIE-LABlab(44.89, 31.26, -53.32)
CIE-LCHlch(44.89, 61.80, 300.38°)
OKLaboklab(53.76% 0.0383 -0.152)
OKLCHoklch(53.76% 0.157 284.2)
XYZxyz(19.2675, 14.4637, 53.9904)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CC4 #BAC45C
analogous
#5C86C4 #665CC4 #9A5CC4
triadic
#665CC4 #C4665C #5CC466
tetradic
#665CC4 #C45C86 #BAC45C #5CC49A
square
#665CC4 #C45C86 #BAC45C #5CC49A
split-complementary
#665CC4 #C49A5C #86C45C
monochromatic
#332C7A #463CA7 #665CC4 #9089D4 #BAB6E5

Accessibility & contrast

On white

5.39
#665CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#665CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CC4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CC4#FFFFFF#000000##FFFFFF
##665CC41.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266DC8
Deuteranopia (green-blind)
#2167C2
Tritanopia (blue-blind)
#457387
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665cc4;
/* rgb */ color: rgb(102, 92, 196);
/* oklch */ color: oklch(53.8% 0.157 284.2);
Tailwind
colors: {
  custom: {
    50: '#988ad6',
    500: '#665cc4',
    950: '#000000',
  },
}
SCSS
$custom: #665cc4;
$custom-light: #988ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#665cc4",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 245.769,
    "s": 46.847,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.15673,
    "h": 284.2
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#665CC4
secondary
#CFD3A9
accent
#D651CA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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