#665BA2#665BA2

#665BA2 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.4% C 0.110 H 289.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#665BA2
RGBrgb(102, 91, 162)
HSLhsl(249, 28%, 50%)
HSVhsv(249, 44%, 64%)
CMYKcmyk(37%, 43.8%, 0%, 36.5%)
CIE-LABlab(42.64, 21.84, -36.99)
CIE-LCHlch(42.64, 42.96, 300.55°)
OKLaboklab(51.41% 0.0359 -0.1041)
OKLCHoklch(51.41% 0.11 289)
XYZxyz(15.7404, 12.9152, 35.8390)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BA2 #97A25B
analogous
#5B74A2 #665BA2 #8A5BA2
triadic
#665BA2 #A2665B #5BA266
tetradic
#665BA2 #A25B74 #97A25B #5BA28A
square
#665BA2 #A25B74 #97A25B #5BA28A
split-complementary
#665BA2 #A28A5B #74A25B
monochromatic
#352F54 #4D457B #665BA2 #8A82B9 #AFA9CF

Accessibility & contrast

On white

5.86
#665BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#665BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BA2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BA2#FFFFFF#000000##FFFFFF
##665BA21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#576976
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #665ba2;
/* rgb */ color: rgb(102, 91, 162);
/* oklch */ color: oklch(51.4% 0.110 289.0);
Tailwind
colors: {
  custom: {
    50: '#9489be',
    500: '#665ba2',
    950: '#000000',
  },
}
SCSS
$custom: #665ba2;
$custom-light: #9489be;
$custom-dark: #000000;
JSON
{
  "hex": "#665ba2",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 249.296,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.11015,
    "h": 289
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#665BA2
secondary
#B8BD9C
accent
#C463B5
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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