#665BA4#665BA4

#665BA4 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.5% C 0.113 H 288.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#665BA4
RGBrgb(102, 91, 164)
HSLhsl(249, 29%, 50%)
HSVhsv(249, 45%, 64%)
CMYKcmyk(37.8%, 44.5%, 0%, 35.7%)
CIE-LABlab(42.74, 22.41, -38.01)
CIE-LCHlch(42.74, 44.12, 300.52°)
OKLaboklab(51.53% 0.0363 -0.1071)
OKLCHoklch(51.53% 0.113 288.7)
XYZxyz(15.9196, 12.9868, 36.7827)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BA4 #99A45B
analogous
#5B75A4 #665BA4 #8A5BA4
triadic
#665BA4 #A4665B #5BA466
tetradic
#665BA4 #A45B75 #99A45B #5BA48A
square
#665BA4 #A45B75 #99A45B #5BA48A
split-complementary
#665BA4 #A48A5B #75A45B
monochromatic
#352F55 #4E457D #665BA4 #8B82BA #AFAAD0

Accessibility & contrast

On white

5.84
#665BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#665BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BA4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BA4#FFFFFF#000000##FFFFFF
##665BA41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#566977
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #665ba4;
/* rgb */ color: rgb(102, 91, 164);
/* oklch */ color: oklch(51.5% 0.113 288.7);
Tailwind
colors: {
  custom: {
    50: '#9489bf',
    500: '#665ba4',
    950: '#000000',
  },
}
SCSS
$custom: #665ba4;
$custom-light: #9489bf;
$custom-dark: #000000;
JSON
{
  "hex": "#665ba4",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 249.041,
    "s": 28.627,
    "l": 50
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.11306,
    "h": 288.7
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#665BA4
secondary
#B9BE9D
accent
#C563B6
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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