#665AB5#665AB5

#665AB5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.139 H 286.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#665AB5
RGBrgb(102, 90, 181)
HSLhsl(248, 38%, 53%)
HSVhsv(248, 50%, 71%)
CMYKcmyk(43.6%, 50.3%, 0%, 29%)
CIE-LABlab(43.47, 27.98, -46.87)
CIE-LCHlch(43.47, 54.59, 300.84°)
OKLaboklab(52.39% 0.0397 -0.133)
OKLCHoklch(52.39% 0.139 286.6)
XYZxyz(17.4738, 13.4726, 45.3869)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AB5 #A9B55A
analogous
#5A7BB5 #665AB5 #935AB5
triadic
#665AB5 #B5665A #5AB566
tetradic
#665AB5 #B55A7B #A9B55A #5AB593
square
#665AB5 #B55A7B #A9B55A #5AB593
split-complementary
#665AB5 #B5935A #7BB55A
monochromatic
#352E67 #4B4191 #665AB5 #8D84C8 #B4AFDB

Accessibility & contrast

On white

5.68
#665AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#665AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AB5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AB5#FFFFFF#000000##FFFFFF
##665AB51.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#4E6D7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ab5;
/* rgb */ color: rgb(102, 90, 181);
/* oklch */ color: oklch(52.4% 0.139 286.6);
Tailwind
colors: {
  custom: {
    50: '#9689cc',
    500: '#665ab5',
    950: '#000000',
  },
}
SCSS
$custom: #665ab5;
$custom-light: #9689cc;
$custom-dark: #000000;
JSON
{
  "hex": "#665ab5",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 247.912,
    "s": 38.075,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.13884,
    "h": 286.6
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#665AB5
secondary
#C4C9A2
accent
#CE5ABF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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