#665CA6#665CA6

#665CA6 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.8% C 0.114 H 287.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#665CA6
RGBrgb(102, 92, 166)
HSLhsl(248, 29%, 51%)
HSVhsv(248, 45%, 65%)
CMYKcmyk(38.6%, 44.6%, 0%, 34.9%)
CIE-LABlab(43.11, 22.37, -38.61)
CIE-LCHlch(43.11, 44.62, 300.08°)
OKLaboklab(51.84% 0.0352 -0.1088)
OKLCHoklch(51.84% 0.114 287.9)
XYZxyz(16.1877, 13.2318, 37.7701)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CA6 #9CA65C
analogous
#5C77A6 #665CA6 #8B5CA6
triadic
#665CA6 #A6665C #5CA666
tetradic
#665CA6 #A65C77 #9CA65C #5CA68B
square
#665CA6 #A65C77 #9CA65C #5CA68B
split-complementary
#665CA6 #A68B5C #77A65C
monochromatic
#353058 #4D467F #665CA6 #8B84BC #B0ABD1

Accessibility & contrast

On white

5.76
#665CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#665CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CA6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CA6#FFFFFF#000000##FFFFFF
##665CA61.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#4264A4
Tritanopia (blue-blind)
#556A79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665ca6;
/* rgb */ color: rgb(102, 92, 166);
/* oklch */ color: oklch(51.8% 0.114 287.9);
Tailwind
colors: {
  custom: {
    50: '#948ac1',
    500: '#665ca6',
    950: '#000000',
  },
}
SCSS
$custom: #665ca6;
$custom-light: #948ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#665ca6",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 248.108,
    "s": 29.365,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.1144,
    "h": 287.9
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#665CA6
secondary
#BBBF9E
accent
#C662B8
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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