#665AC2#665AC2

#665AC2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.157 H 285.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#665AC2
RGBrgb(102, 90, 194)
HSLhsl(247, 46%, 56%)
HSVhsv(247, 54%, 76%)
CMYKcmyk(47.4%, 53.6%, 0%, 23.9%)
CIE-LABlab(44.28, 31.87, -53.14)
CIE-LCHlch(44.28, 61.97, 300.95°)
OKLaboklab(53.26% 0.0406 -0.1515)
OKLCHoklch(53.26% 0.157 285)
XYZxyz(18.8704, 14.0313, 52.7425)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AC2 #B6C25A
analogous
#5A82C2 #665AC2 #9A5AC2
triadic
#665AC2 #C2665A #5AC266
tetradic
#665AC2 #C25A82 #B6C25A #5AC29A
square
#665AC2 #C25A82 #B6C25A #5AC29A
split-complementary
#665AC2 #C29A5A #82C25A
monochromatic
#342C76 #483CA3 #665AC2 #8F87D3 #B9B3E3

Accessibility & contrast

On white

5.52
#665AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#665AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AC2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AC2#FFFFFF#000000##FFFFFF
##665AC21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#1F66C0
Tritanopia (blue-blind)
#477185
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665ac2;
/* rgb */ color: rgb(102, 90, 194);
/* oklch */ color: oklch(53.3% 0.157 285.0);
Tailwind
colors: {
  custom: {
    50: '#9889d5',
    500: '#665ac2',
    950: '#000000',
  },
}
SCSS
$custom: #665ac2;
$custom-light: #9889d5;
$custom-dark: #000000;
JSON
{
  "hex": "#665ac2",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 246.923,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.15681,
    "h": 285
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#665AC2
secondary
#CDD2A6
accent
#D652C6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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