#665FAE#665FAE

#665FAE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.121 H 285.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#665FAE
RGBrgb(102, 95, 174)
HSLhsl(245, 33%, 53%)
HSVhsv(245, 45%, 68%)
CMYKcmyk(41.4%, 45.4%, 0%, 31.8%)
CIE-LABlab(44.33, 22.84, -41.40)
CIE-LCHlch(44.33, 47.28, 298.89°)
OKLaboklab(52.91% 0.0324 -0.117)
OKLCHoklch(52.91% 0.121 285.5)
XYZxyz(17.2095, 14.0646, 41.8442)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FAE #A7AE5F
analogous
#5F80AE #665FAE #8D5FAE
triadic
#665FAE #AE665F #5FAE66
tetradic
#665FAE #AE5F80 #A7AE5F #5FAE8D
square
#665FAE #AE5F80 #A7AE5F #5FAE8D
split-complementary
#665FAE #AE8D5F #80AE5F
monochromatic
#363161 #4C468A #665FAE #8D88C3 #B4B0D7

Accessibility & contrast

On white

5.51
#665FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#665FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FAE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FAE#FFFFFF#000000##FFFFFF
##665FAE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#4066AC
Tritanopia (blue-blind)
#516F7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665fae;
/* rgb */ color: rgb(102, 95, 174);
/* oklch */ color: oklch(52.9% 0.121 285.5);
Tailwind
colors: {
  custom: {
    50: '#958cc6',
    500: '#665fae',
    950: '#000000',
  },
}
SCSS
$custom: #665fae;
$custom-light: #958cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#665fae",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 245.316,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.1214,
    "h": 285.5
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#665FAE
secondary
#C2C6A3
accent
#C95FC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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