#665FAC#665FAC

#665FAC is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.8% C 0.118 H 285.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#665FAC
RGBrgb(102, 95, 172)
HSLhsl(245, 32%, 52%)
HSVhsv(245, 45%, 67%)
CMYKcmyk(40.7%, 44.8%, 0%, 32.5%)
CIE-LABlab(44.21, 22.26, -40.40)
CIE-LCHlch(44.21, 46.12, 298.85°)
OKLaboklab(52.79% 0.0321 -0.1141)
OKLCHoklch(52.79% 0.119 285.7)
XYZxyz(17.0160, 13.9871, 40.8250)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FAC #A5AC5F
analogous
#5F7EAC #665FAC #8D5FAC
triadic
#665FAC #AC665F #5FAC66
tetradic
#665FAC #AC5F7E #A5AC5F #5FAC8D
square
#665FAC #AC5F7E #A5AC5F #5FAC8D
split-complementary
#665FAC #AC8D5F #7EAC5F
monochromatic
#36315F #4C4688 #665FAC #8D87C1 #B3B0D6

Accessibility & contrast

On white

5.53
#665FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#665FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FAC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FAC#FFFFFF#000000##FFFFFF
##665FAC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#4166AA
Tritanopia (blue-blind)
#526E7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665fac;
/* rgb */ color: rgb(102, 95, 172);
/* oklch */ color: oklch(52.8% 0.118 285.7);
Tailwind
colors: {
  custom: {
    50: '#958cc5',
    500: '#665fac',
    950: '#000000',
  },
}
SCSS
$custom: #665fac;
$custom-light: #958cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#665fac",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 245.455,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.1185,
    "h": 285.7
  },
  "luminance": 0.13988
}

Semantic roles & 50–950 ramp

primary
#665FAC
secondary
#C1C4A3
accent
#C860BE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #665FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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