#665FA5#665FA5

#665FA5 is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.4% C 0.108 H 286.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#665FA5
RGBrgb(102, 95, 165)
HSLhsl(246, 28%, 51%)
HSVhsv(246, 42%, 65%)
CMYKcmyk(38.2%, 42.4%, 0%, 35.3%)
CIE-LABlab(43.84, 20.23, -36.87)
CIE-LCHlch(43.84, 42.05, 298.75°)
OKLaboklab(52.38% 0.0309 -0.1038)
OKLCHoklch(52.38% 0.108 286.6)
XYZxyz(16.3614, 13.7253, 37.3772)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA5 #9EA55F
analogous
#5F7BA5 #665FA5 #895FA5
triadic
#665FA5 #A5665F #5FA566
tetradic
#665FA5 #A55F7B #9EA55F #5FA589
square
#665FA5 #A55F7B #9EA55F #5FA589
split-complementary
#665FA5 #A5895F #7BA55F
monochromatic
#353258 #4D487F #665FA5 #8B86BB #B1ADD1

Accessibility & contrast

On white

5.61
#665FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665FA5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA5#FFFFFF#000000##FFFFFF
##665FA51.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A8
Deuteranopia (green-blind)
#4666A3
Tritanopia (blue-blind)
#556D7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665fa5;
/* rgb */ color: rgb(102, 95, 165);
/* oklch */ color: oklch(52.4% 0.108 286.6);
Tailwind
colors: {
  custom: {
    50: '#948cc0',
    500: '#665fa5',
    950: '#000000',
  },
}
SCSS
$custom: #665fa5;
$custom-light: #948cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa5",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 246,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.10827,
    "h": 286.6
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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