#665AC5#665AC5

#665AC5 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.161 H 284.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#665AC5
RGBrgb(102, 90, 197)
HSLhsl(247, 48%, 56%)
HSVhsv(247, 54%, 77%)
CMYKcmyk(48.2%, 54.3%, 0%, 22.7%)
CIE-LABlab(44.47, 32.77, -54.57)
CIE-LCHlch(44.47, 63.65, 300.99°)
OKLaboklab(53.46% 0.0407 -0.1557)
OKLCHoklch(53.46% 0.161 284.6)
XYZxyz(19.2107, 14.1674, 54.5348)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AC5 #B9C55A
analogous
#5A84C5 #665AC5 #9C5AC5
triadic
#665AC5 #C5665A #5AC566
tetradic
#665AC5 #C55A84 #B9C55A #5AC59C
square
#665AC5 #C55A84 #B9C55A #5AC59C
split-complementary
#665AC5 #C59C5A #84C55A
monochromatic
#342B7A #473BA7 #665AC5 #9087D5 #BAB5E5

Accessibility & contrast

On white

5.48
#665AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#665AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AC5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AC5#FFFFFF#000000##FFFFFF
##665AC51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#1966C3
Tritanopia (blue-blind)
#457287
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665ac5;
/* rgb */ color: rgb(102, 90, 197);
/* oklch */ color: oklch(53.5% 0.161 284.6);
Tailwind
colors: {
  custom: {
    50: '#9889d7',
    500: '#665ac5',
    950: '#000000',
  },
}
SCSS
$custom: #665ac5;
$custom-light: #9889d7;
$custom-dark: #000000;
JSON
{
  "hex": "#665ac5",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 246.729,
    "s": 47.982,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.16089,
    "h": 284.6
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#665AC5
secondary
#CED3A7
accent
#D850C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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