#665CA4#665CA4

#665CA4 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.7% C 0.111 H 288.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#665CA4
RGBrgb(102, 92, 164)
HSLhsl(248, 28%, 50%)
HSVhsv(248, 44%, 64%)
CMYKcmyk(37.8%, 43.9%, 0%, 35.7%)
CIE-LABlab(43.00, 21.79, -37.60)
CIE-LCHlch(43.00, 43.46, 300.09°)
OKLaboklab(51.73% 0.0349 -0.1059)
OKLCHoklch(51.73% 0.111 288.2)
XYZxyz(16.0056, 13.1589, 36.8114)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CA4 #9AA45C
analogous
#5C76A4 #665CA4 #8A5CA4
triadic
#665CA4 #A4665C #5CA466
tetradic
#665CA4 #A45C76 #9AA45C #5CA48A
square
#665CA4 #A45C76 #9AA45C #5CA48A
split-complementary
#665CA4 #A48A5C #76A45C
monochromatic
#353056 #4D467D #665CA4 #8B83BA #B0ABD0

Accessibility & contrast

On white

5.78
#665CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#665CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CA4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CA4#FFFFFF#000000##FFFFFF
##665CA41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#566A78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665ca4;
/* rgb */ color: rgb(102, 92, 164);
/* oklch */ color: oklch(51.7% 0.111 288.2);
Tailwind
colors: {
  custom: {
    50: '#948abf',
    500: '#665ca4',
    950: '#000000',
  },
}
SCSS
$custom: #665ca4;
$custom-light: #948abf;
$custom-dark: #000000;
JSON
{
  "hex": "#665ca4",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 248.333,
    "s": 28.346,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.11149,
    "h": 288.2
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#665CA4
secondary
#BABE9E
accent
#C563B7
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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