#665AE3#665AE3

#665AE3 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.200 H 281.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#665AE3
RGBrgb(102, 90, 227)
HSLhsl(245, 71%, 62%)
HSVhsv(245, 60%, 89%)
CMYKcmyk(55.1%, 60.4%, 0%, 11%)
CIE-LABlab(46.55, 41.93, -68.36)
CIE-LCHlch(46.55, 80.20, 301.52°)
OKLaboklab(55.66% 0.0404 -0.1962)
OKLCHoklch(55.66% 0.2 281.6)
XYZxyz(22.9965, 15.6817, 74.4732)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE3 #D7E35A
analogous
#5A93E3 #665AE3 #AA5AE3
triadic
#665AE3 #E3665A #5AE366
tetradic
#665AE3 #E35A93 #D7E35A #5AE3AA
square
#665AE3 #E35A93 #D7E35A #5AE3AA
split-complementary
#665AE3 #E3AA5A #93E35A
monochromatic
#281CA6 #3526DA #665AE3 #978EEC #C7C3F5

Accessibility & contrast

On white

5.08
#665AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#665AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE3#FFFFFF#000000##FFFFFF
##665AE31.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#287B96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ae3;
/* rgb */ color: rgb(102, 90, 227);
/* oklch */ color: oklch(55.7% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#9c89ed',
    500: '#665ae3',
    950: '#000000',
  },
}
SCSS
$custom: #665ae3;
$custom-light: #9c89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae3",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 245.255,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.20035,
    "h": 281.6
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#665AE3
secondary
#E1E6B3
accent
#D312C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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