#665AE0#665AE0

#665AE0 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.4% C 0.197 H 281.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#665AE0
RGBrgb(102, 90, 224)
HSLhsl(245, 68%, 62%)
HSVhsv(245, 60%, 88%)
CMYKcmyk(54.5%, 59.8%, 0%, 12.2%)
CIE-LABlab(46.34, 41.01, -67.02)
CIE-LCHlch(46.34, 78.57, 301.46°)
OKLaboklab(55.43% 0.0406 -0.1923)
OKLCHoklch(55.43% 0.197 281.9)
XYZxyz(22.5860, 15.5175, 72.3116)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE0 #D4E05A
analogous
#5A91E0 #665AE0 #A95AE0
triadic
#665AE0 #E0665A #5AE066
tetradic
#665AE0 #E05A91 #D4E05A #5AE0A9
square
#665AE0 #E05A91 #D4E05A #5AE0A9
split-complementary
#665AE0 #E0A95A #91E05A
monochromatic
#2A1EA1 #3728D5 #665AE0 #968EEA #C6C1F3

Accessibility & contrast

On white

5.12
#665AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#665AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE0#FFFFFF#000000##FFFFFF
##665AE01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#2C7A94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ae0;
/* rgb */ color: rgb(102, 90, 224);
/* oklch */ color: oklch(55.4% 0.197 281.9);
Tailwind
colors: {
  custom: {
    50: '#9c89eb',
    500: '#665ae0',
    950: '#000000',
  },
}
SCSS
$custom: #665ae0;
$custom-light: #9c89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae0",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 245.373,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.19651,
    "h": 281.9
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#665AE0
secondary
#DFE4B2
accent
#D015C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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