#665FAB#665FAB

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

Color values

HEX#665FAB
RGBrgb(102, 95, 171)
HSLhsl(246, 31%, 52%)
HSVhsv(246, 44%, 67%)
CMYKcmyk(40.4%, 44.4%, 0%, 32.9%)
CIE-LABlab(44.16, 21.96, -39.90)
CIE-LCHlch(44.16, 45.54, 298.83°)
OKLaboklab(52.73% 0.032 -0.1126)
OKLCHoklch(52.73% 0.117 285.9)
XYZxyz(16.9203, 13.9489, 40.3211)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FAB #A4AB5F
analogous
#5F7EAB #665FAB #8C5FAB
triadic
#665FAB #AB665F #5FAB66
tetradic
#665FAB #AB5F7E #A4AB5F #5FAB8C
square
#665FAB #AB5F7E #A4AB5F #5FAB8C
split-complementary
#665FAB #AB8C5F #7EAB5F
monochromatic
#36315E #4C4786 #665FAB #8C87C0 #B3AFD5

Accessibility & contrast

On white

5.54
#665FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#665FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FAB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FAB#FFFFFF#000000##FFFFFF
##665FAB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#526E7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665fab;
/* rgb */ color: rgb(102, 95, 171);
/* oklch */ color: oklch(52.7% 0.117 285.9);
Tailwind
colors: {
  custom: {
    50: '#958cc4',
    500: '#665fab',
    950: '#000000',
  },
}
SCSS
$custom: #665fab;
$custom-light: #958cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#665fab",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 245.526,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.11705,
    "h": 285.9
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#665FAB
secondary
#C0C3A2
accent
#C760BE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #665FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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