#665FA7#665FA7

#665FA7 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.5% C 0.111 H 286.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#665FA7
RGBrgb(102, 95, 167)
HSLhsl(246, 29%, 51%)
HSVhsv(246, 43%, 65%)
CMYKcmyk(38.9%, 43.1%, 0%, 34.5%)
CIE-LABlab(43.94, 20.80, -37.88)
CIE-LCHlch(43.94, 43.22, 298.77°)
OKLaboklab(52.49% 0.0313 -0.1067)
OKLCHoklch(52.49% 0.111 286.3)
XYZxyz(16.5448, 13.7987, 38.3434)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA7 #A0A75F
analogous
#5F7CA7 #665FA7 #8A5FA7
triadic
#665FA7 #A7665F #5FA766
tetradic
#665FA7 #A75F7C #A0A75F #5FA78A
square
#665FA7 #A75F7C #A0A75F #5FA78A
split-complementary
#665FA7 #A78A5F #7CA75F
monochromatic
#35325A #4D4782 #665FA7 #8C86BD #B2AED2

Accessibility & contrast

On white

5.59
#665FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#665FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FA7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA7#FFFFFF#000000##FFFFFF
##665FA71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#546D7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665fa7;
/* rgb */ color: rgb(102, 95, 167);
/* oklch */ color: oklch(52.5% 0.111 286.3);
Tailwind
colors: {
  custom: {
    50: '#948cc1',
    500: '#665fa7',
    950: '#000000',
  },
}
SCSS
$custom: #665fa7;
$custom-light: #948cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa7",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 245.833,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.11122,
    "h": 286.3
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#665FA7
secondary
#BEC1A1
accent
#C562BC
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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