#665FA4#665FA4

#665FA4 is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.3% C 0.107 H 286.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#665FA4
RGBrgb(102, 95, 164)
HSLhsl(246, 27%, 51%)
HSVhsv(246, 42%, 64%)
CMYKcmyk(37.8%, 42.1%, 0%, 35.7%)
CIE-LABlab(43.78, 19.94, -36.36)
CIE-LCHlch(43.78, 41.47, 298.74°)
OKLaboklab(52.32% 0.0308 -0.1023)
OKLCHoklch(52.32% 0.107 286.7)
XYZxyz(16.2707, 13.6890, 36.8997)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA4 #9DA45F
analogous
#5F7AA4 #665FA4 #885FA4
triadic
#665FA4 #A4665F #5FA466
tetradic
#665FA4 #A45F7A #9DA45F #5FA488
square
#665FA4 #A45F7A #9DA45F #5FA488
split-complementary
#665FA4 #A4885F #7AA45F
monochromatic
#353257 #4D487E #665FA4 #8B86BA #B1ADD0

Accessibility & contrast

On white

5.62
#665FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#665FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FA4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA4#FFFFFF#000000##FFFFFF
##665FA41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A7
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#556C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665fa4;
/* rgb */ color: rgb(102, 95, 164);
/* oklch */ color: oklch(52.3% 0.107 286.7);
Tailwind
colors: {
  custom: {
    50: '#948cbf',
    500: '#665fa4',
    950: '#000000',
  },
}
SCSS
$custom: #665fa4;
$custom-light: #948cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa4",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 246.087,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.10681,
    "h": 286.7
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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