#665EA5#665EA5

#665EA5 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 52.2% C 0.110 H 287.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#665EA5
RGBrgb(102, 94, 165)
HSLhsl(247, 28%, 51%)
HSVhsv(247, 43%, 65%)
CMYKcmyk(38.2%, 43%, 0%, 35.3%)
CIE-LABlab(43.58, 20.84, -37.28)
CIE-LCHlch(43.58, 42.72, 299.21°)
OKLaboklab(52.18% 0.0323 -0.105)
OKLCHoklch(52.18% 0.11 287.1)
XYZxyz(16.2719, 13.5463, 37.3474)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA5 #9DA55E
analogous
#5E79A5 #665EA5 #895EA5
triadic
#665EA5 #A5665E #5EA566
tetradic
#665EA5 #A55E79 #9DA55E #5EA589
square
#665EA5 #A55E79 #9DA55E #5EA589
split-complementary
#665EA5 #A5895E #79A55E
monochromatic
#353158 #4D477F #665EA5 #8B85BB #B1ADD1

Accessibility & contrast

On white

5.66
#665EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#665EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EA5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA5#FFFFFF#000000##FFFFFF
##665EA51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4669A8
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#556C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ea5;
/* rgb */ color: rgb(102, 94, 165);
/* oklch */ color: oklch(52.2% 0.110 287.1);
Tailwind
colors: {
  custom: {
    50: '#948bc0',
    500: '#665ea5',
    950: '#000000',
  },
}
SCSS
$custom: #665ea5;
$custom-light: #948bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea5",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 246.761,
    "s": 28.287,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.10983,
    "h": 287.1
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#665EA5
secondary
#BCBFA0
accent
#C563BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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