#665ACC#665ACC

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

Color values

HEX#665ACC
RGBrgb(102, 90, 204)
HSLhsl(246, 53%, 58%)
HSVhsv(246, 56%, 80%)
CMYKcmyk(50%, 55.9%, 0%, 20%)
CIE-LABlab(44.94, 34.90, -57.86)
CIE-LCHlch(44.94, 67.57, 301.10°)
OKLaboklab(53.96% 0.0409 -0.1653)
OKLCHoklch(53.96% 0.17 283.9)
XYZxyz(20.0315, 14.4957, 58.8575)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ACC #C0CC5A
analogous
#5A87CC #665ACC #9F5ACC
triadic
#665ACC #CC665A #5ACC66
tetradic
#665ACC #CC5A87 #C0CC5A #5ACC9F
square
#665ACC #CC5A87 #C0CC5A #5ACC9F
split-complementary
#665ACC #CC9F5A #87CC5A
monochromatic
#322983 #4437B2 #665ACC #9189DA #BDB7E9

Accessibility & contrast

On white

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

On black

3.90
#665ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##665ACC#FFFFFF#000000##FFFFFF
##665ACC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6ED0
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#40748A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665acc;
/* rgb */ color: rgb(102, 90, 204);
/* oklch */ color: oklch(54.0% 0.170 283.9);
Tailwind
colors: {
  custom: {
    50: '#9989dc',
    500: '#665acc',
    950: '#000000',
  },
}
SCSS
$custom: #665acc;
$custom-light: #9989dc;
$custom-dark: #000000;
JSON
{
  "hex": "#665acc",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 246.316,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.17031,
    "h": 283.9
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#665ACC
secondary
#D3D8AA
accent
#DC4CCD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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