#665FA6#665FA6

#665FA6 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.4% C 0.110 H 286.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#665FA6
RGBrgb(102, 95, 166)
HSLhsl(246, 29%, 51%)
HSVhsv(246, 43%, 65%)
CMYKcmyk(38.6%, 42.8%, 0%, 34.9%)
CIE-LABlab(43.89, 20.51, -37.38)
CIE-LCHlch(43.89, 42.64, 298.76°)
OKLaboklab(52.43% 0.0311 -0.1052)
OKLCHoklch(52.43% 0.11 286.5)
XYZxyz(16.4527, 13.7618, 37.8584)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA6 #9FA65F
analogous
#5F7BA6 #665FA6 #895FA6
triadic
#665FA6 #A6665F #5FA666
tetradic
#665FA6 #A65F7B #9FA65F #5FA689
square
#665FA6 #A65F7B #9FA65F #5FA689
split-complementary
#665FA6 #A6895F #7BA65F
monochromatic
#353259 #4D4780 #665FA6 #8C86BC #B1AED2

Accessibility & contrast

On white

5.60
#665FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#665FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FA6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA6#FFFFFF#000000##FFFFFF
##665FA61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#4566A4
Tritanopia (blue-blind)
#556D7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665fa6;
/* rgb */ color: rgb(102, 95, 166);
/* oklch */ color: oklch(52.4% 0.110 286.5);
Tailwind
colors: {
  custom: {
    50: '#948cc1',
    500: '#665fa6',
    950: '#000000',
  },
}
SCSS
$custom: #665fa6;
$custom-light: #948cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa6",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 245.915,
    "s": 28.514,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.10975,
    "h": 286.5
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#665FA6
secondary
#BDC0A1
accent
#C563BB
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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