#665CA5#665CA5

#665CA5 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.8% C 0.113 H 288.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#665CA5
RGBrgb(102, 92, 165)
HSLhsl(248, 29%, 50%)
HSVhsv(248, 44%, 65%)
CMYKcmyk(38.2%, 44.2%, 0%, 35.3%)
CIE-LABlab(43.06, 22.08, -38.11)
CIE-LCHlch(43.06, 44.04, 300.09°)
OKLaboklab(51.78% 0.0351 -0.1074)
OKLCHoklch(51.78% 0.113 288.1)
XYZxyz(16.0963, 13.1952, 37.2889)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CA5 #9BA55C
analogous
#5C76A5 #665CA5 #8A5CA5
triadic
#665CA5 #A5665C #5CA566
tetradic
#665CA5 #A55C76 #9BA55C #5CA58A
square
#665CA5 #A55C76 #9BA55C #5CA58A
split-complementary
#665CA5 #A58A5C #76A55C
monochromatic
#353057 #4D467E #665CA5 #8B83BB #B0ABD1

Accessibility & contrast

On white

5.77
#665CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#665CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CA5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CA5#FFFFFF#000000##FFFFFF
##665CA51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A8
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#556A78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665ca5;
/* rgb */ color: rgb(102, 92, 165);
/* oklch */ color: oklch(51.8% 0.113 288.1);
Tailwind
colors: {
  custom: {
    50: '#948ac0',
    500: '#665ca5',
    950: '#000000',
  },
}
SCSS
$custom: #665ca5;
$custom-light: #948ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ca5",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 248.219,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.11295,
    "h": 288.1
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#665CA5
secondary
#BABF9E
accent
#C563B8
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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