#665AD5#665AD5

#665AD5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.182 H 283.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#665AD5
RGBrgb(102, 90, 213)
HSLhsl(246, 59%, 59%)
HSVhsv(246, 58%, 84%)
CMYKcmyk(52.1%, 57.7%, 0%, 16.5%)
CIE-LABlab(45.55, 37.64, -62.03)
CIE-LCHlch(45.55, 72.55, 301.25°)
OKLaboklab(54.61% 0.0409 -0.1776)
OKLCHoklch(54.61% 0.182 283)
XYZxyz(21.1422, 14.9400, 64.7076)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AD5 #C9D55A
analogous
#5A8CD5 #665AD5 #A45AD5
triadic
#665AD5 #D5665A #5AD566
tetradic
#665AD5 #D55A8C #C9D55A #5AD5A4
square
#665AD5 #D55A8C #C9D55A #5AD5A4
split-complementary
#665AD5 #D5A45A #8CD55A
monochromatic
#2F2590 #3F31C1 #665AD5 #938BE1 #C0BCEE

Accessibility & contrast

On white

5.27
#665AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#665AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AD5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AD5#FFFFFF#000000##FFFFFF
##665AD51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#38778F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665ad5;
/* rgb */ color: rgb(102, 90, 213);
/* oklch */ color: oklch(54.6% 0.182 283.0);
Tailwind
colors: {
  custom: {
    50: '#9a89e3',
    500: '#665ad5',
    950: '#000000',
  },
}
SCSS
$custom: #665ad5;
$custom-light: #9a89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#665ad5",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 213
  },
  "hsl": {
    "h": 245.854,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.18223,
    "h": 283
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#665AD5
secondary
#D9DDAD
accent
#E345D3
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B15
muted
#7F7C84

Preview Lab

Preview with #665AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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