#665DAB#665DAB

#665DAB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.120 H 286.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#665DAB
RGBrgb(102, 93, 171)
HSLhsl(247, 32%, 52%)
HSVhsv(247, 46%, 67%)
CMYKcmyk(40.4%, 45.6%, 0%, 32.9%)
CIE-LABlab(43.64, 23.20, -40.72)
CIE-LCHlch(43.64, 46.86, 299.67°)
OKLaboklab(52.34% 0.0346 -0.115)
OKLCHoklch(52.34% 0.12 286.8)
XYZxyz(16.7425, 13.5932, 40.2618)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DAB #A2AB5D
analogous
#5D7BAB #665DAB #8D5DAB
triadic
#665DAB #AB665D #5DAB66
tetradic
#665DAB #AB5D7B #A2AB5D #5DAB8D
square
#665DAB #AB5D7B #A2AB5D #5DAB8D
split-complementary
#665DAB #AB8D5D #7BAB5D
monochromatic
#36305D #4D4586 #665DAB #8C85C0 #B2AED5

Accessibility & contrast

On white

5.65
#665DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#665DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DAB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DAB#FFFFFF#000000##FFFFFF
##665DAB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#536D7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665dab;
/* rgb */ color: rgb(102, 93, 171);
/* oklch */ color: oklch(52.3% 0.120 286.8);
Tailwind
colors: {
  custom: {
    50: '#958bc4',
    500: '#665dab',
    950: '#000000',
  },
}
SCSS
$custom: #665dab;
$custom-light: #958bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#665dab",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 171
  },
  "hsl": {
    "h": 246.923,
    "s": 31.707,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.1201,
    "h": 286.8
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#665DAB
secondary
#BFC3A1
accent
#C860BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #665DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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