#665FA1#665FA1

#665FA1 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.1% C 0.102 H 287.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#665FA1
RGBrgb(102, 95, 161)
HSLhsl(246, 26%, 50%)
HSVhsv(246, 41%, 63%)
CMYKcmyk(36.6%, 41%, 0%, 36.9%)
CIE-LABlab(43.63, 19.08, -34.83)
CIE-LCHlch(43.63, 39.72, 298.71°)
OKLaboklab(52.15% 0.0302 -0.0978)
OKLCHoklch(52.15% 0.102 287.1)
XYZxyz(16.0030, 13.5819, 35.4897)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA1 #9AA15F
analogous
#5F79A1 #665FA1 #875FA1
triadic
#665FA1 #A1665F #5FA166
tetradic
#665FA1 #A15F79 #9AA15F #5FA187
square
#665FA1 #A15F79 #9AA15F #5FA187
split-complementary
#665FA1 #A1875F #79A15F
monochromatic
#353154 #4D487B #665FA1 #8B86B8 #B0ACCE

Accessibility & contrast

On white

5.65
#665FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#665FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FA1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA1#FFFFFF#000000##FFFFFF
##665FA11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A4
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#576C78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665fa1;
/* rgb */ color: rgb(102, 95, 161);
/* oklch */ color: oklch(52.1% 0.102 287.1);
Tailwind
colors: {
  custom: {
    50: '#948cbd',
    500: '#665fa1',
    950: '#000000',
  },
}
SCSS
$custom: #665fa1;
$custom-light: #948cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa1",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 246.364,
    "s": 25.984,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.10238,
    "h": 287.1
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#665FA1
secondary
#BABD9F
accent
#C265B9
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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