#665AD4#665AD4

#665AD4 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.181 H 283.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#665AD4
RGBrgb(102, 90, 212)
HSLhsl(246, 59%, 59%)
HSVhsv(246, 58%, 83%)
CMYKcmyk(51.9%, 57.5%, 0%, 16.9%)
CIE-LABlab(45.48, 37.34, -61.57)
CIE-LCHlch(45.48, 72.00, 301.23°)
OKLaboklab(54.54% 0.0409 -0.1762)
OKLCHoklch(54.54% 0.181 283.1)
XYZxyz(21.0157, 14.8894, 64.0412)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AD4 #C8D45A
analogous
#5A8BD4 #665AD4 #A35AD4
triadic
#665AD4 #D4665A #5AD466
tetradic
#665AD4 #D45A8B #C8D45A #5AD4A3
square
#665AD4 #D45A8B #C8D45A #5AD4A3
split-complementary
#665AD4 #D4A35A #8BD45A
monochromatic
#2F258E #4032BF #665AD4 #938BE1 #C0BBED

Accessibility & contrast

On white

5.28
#665AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#665AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AD4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AD4#FFFFFF#000000##FFFFFF
##665AD41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#39768E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665ad4;
/* rgb */ color: rgb(102, 90, 212);
/* oklch */ color: oklch(54.5% 0.181 283.1);
Tailwind
colors: {
  custom: {
    50: '#9a89e2',
    500: '#665ad4',
    950: '#000000',
  },
}
SCSS
$custom: #665ad4;
$custom-light: #9a89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#665ad4",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 212
  },
  "hsl": {
    "h": 245.902,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.18092,
    "h": 283.1
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#665AD4
secondary
#D8DDAD
accent
#E246D3
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #665AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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