#665BA5#665BA5

#665BA5 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.6% C 0.115 H 288.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#665BA5
RGBrgb(102, 91, 165)
HSLhsl(249, 29%, 50%)
HSVhsv(249, 45%, 65%)
CMYKcmyk(38.2%, 44.8%, 0%, 35.3%)
CIE-LABlab(42.80, 22.70, -38.52)
CIE-LCHlch(42.80, 44.71, 300.51°)
OKLaboklab(51.59% 0.0364 -0.1086)
OKLCHoklch(51.59% 0.115 288.5)
XYZxyz(16.0103, 13.0231, 37.2602)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BA5 #9AA55B
analogous
#5B75A5 #665BA5 #8B5BA5
triadic
#665BA5 #A5665B #5BA566
tetradic
#665BA5 #A55B75 #9AA55B #5BA58B
square
#665BA5 #A55B75 #9AA55B #5BA58B
split-complementary
#665BA5 #A58B5B #75A55B
monochromatic
#352F56 #4D457E #665BA5 #8B83BB #B0AAD0

Accessibility & contrast

On white

5.83
#665BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665BA5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BA5#FFFFFF#000000##FFFFFF
##665BA51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A8
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#556978
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #665ba5;
/* rgb */ color: rgb(102, 91, 165);
/* oklch */ color: oklch(51.6% 0.115 288.5);
Tailwind
colors: {
  custom: {
    50: '#9489c0',
    500: '#665ba5',
    950: '#000000',
  },
}
SCSS
$custom: #665ba5;
$custom-light: #9489c0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ba5",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 165
  },
  "hsl": {
    "h": 248.919,
    "s": 29.134,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.11451,
    "h": 288.5
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#665BA5
secondary
#BABE9D
accent
#C562B7
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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