#665FAA#665FAA

#665FAA is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.7% C 0.116 H 286.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#665FAA
RGBrgb(102, 95, 170)
HSLhsl(246, 31%, 52%)
HSVhsv(246, 44%, 67%)
CMYKcmyk(40%, 44.1%, 0%, 33.3%)
CIE-LABlab(44.10, 21.67, -39.40)
CIE-LCHlch(44.10, 44.96, 298.82°)
OKLaboklab(52.67% 0.0318 -0.1111)
OKLCHoklch(52.67% 0.116 286)
XYZxyz(16.8254, 13.9109, 39.8210)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FAA #A3AA5F
analogous
#5F7EAA #665FAA #8C5FAA
triadic
#665FAA #AA665F #5FAA66
tetradic
#665FAA #AA5F7E #A3AA5F #5FAA8C
square
#665FAA #AA5F7E #A3AA5F #5FAA8C
split-complementary
#665FAA #AA8C5F #7EAA5F
monochromatic
#36315D #4D4785 #665FAA #8C87BF #B2AFD4

Accessibility & contrast

On white

5.55
#665FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#665FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FAA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FAA#FFFFFF#000000##FFFFFF
##665FAA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#536E7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665faa;
/* rgb */ color: rgb(102, 95, 170);
/* oklch */ color: oklch(52.7% 0.116 286.0);
Tailwind
colors: {
  custom: {
    50: '#958cc4',
    500: '#665faa',
    950: '#000000',
  },
}
SCSS
$custom: #665faa;
$custom-light: #958cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#665faa",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 245.6,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.11559,
    "h": 286
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#665FAA
secondary
#C0C3A2
accent
#C761BD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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