#665FA3#665FA3

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

Color values

HEX#665FA3
RGBrgb(102, 95, 163)
HSLhsl(246, 27%, 51%)
HSVhsv(246, 42%, 64%)
CMYKcmyk(37.4%, 41.7%, 0%, 36.1%)
CIE-LABlab(43.73, 19.65, -35.85)
CIE-LCHlch(43.73, 40.89, 298.73°)
OKLaboklab(52.26% 0.0306 -0.1008)
OKLCHoklch(52.26% 0.105 286.9)
XYZxyz(16.1807, 13.6530, 36.4260)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA3 #9CA35F
analogous
#5F7AA3 #665FA3 #885FA3
triadic
#665FA3 #A3665F #5FA366
tetradic
#665FA3 #A35F7A #9CA35F #5FA388
square
#665FA3 #A35F7A #9CA35F #5FA388
split-complementary
#665FA3 #A3885F #7AA35F
monochromatic
#353256 #4D487D #665FA3 #8B86B9 #B0ADD0

Accessibility & contrast

On white

5.63
#665FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#665FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FA3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA3#FFFFFF#000000##FFFFFF
##665FA31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#4766A1
Tritanopia (blue-blind)
#566C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665fa3;
/* rgb */ color: rgb(102, 95, 163);
/* oklch */ color: oklch(52.3% 0.105 286.9);
Tailwind
colors: {
  custom: {
    50: '#948cbe',
    500: '#665fa3',
    950: '#000000',
  },
}
SCSS
$custom: #665fa3;
$custom-light: #948cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa3",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 246.176,
    "s": 26.984,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.10533,
    "h": 286.9
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#665FA3
secondary
#BBBEA0
accent
#C364BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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