#665CA8#665CA8

#665CA8 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 52.0% C 0.117 H 287.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#665CA8
RGBrgb(102, 92, 168)
HSLhsl(248, 30%, 51%)
HSVhsv(248, 45%, 66%)
CMYKcmyk(39.3%, 45.2%, 0%, 34.1%)
CIE-LABlab(43.22, 22.94, -39.62)
CIE-LCHlch(43.22, 45.78, 300.07°)
OKLaboklab(51.96% 0.0355 -0.1118)
OKLCHoklch(51.96% 0.117 287.6)
XYZxyz(16.3726, 13.3057, 38.7438)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CA8 #9EA85C
analogous
#5C78A8 #665CA8 #8C5CA8
triadic
#665CA8 #A8665C #5CA866
tetradic
#665CA8 #A85C78 #9EA85C #5CA88C
square
#665CA8 #A85C78 #9EA85C #5CA88C
split-complementary
#665CA8 #A88C5C #78A85C
monochromatic
#35305A #4D4582 #665CA8 #8B84BD #B1ACD3

Accessibility & contrast

On white

5.74
#665CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#665CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CA8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CA8#FFFFFF#000000##FFFFFF
##665CA81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#546B7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665ca8;
/* rgb */ color: rgb(102, 92, 168);
/* oklch */ color: oklch(52.0% 0.117 287.6);
Tailwind
colors: {
  custom: {
    50: '#958ac2',
    500: '#665ca8',
    950: '#000000',
  },
}
SCSS
$custom: #665ca8;
$custom-light: #958ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#665ca8",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 247.895,
    "s": 30.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.1173,
    "h": 287.6
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

primary
#665CA8
secondary
#BCC19F
accent
#C761B9
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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