#665AE5#665AE5

#665AE5 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.203 H 281.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#665AE5
RGBrgb(102, 90, 229)
HSLhsl(245, 73%, 63%)
HSVhsv(245, 61%, 90%)
CMYKcmyk(55.5%, 60.7%, 0%, 10.2%)
CIE-LABlab(46.70, 42.55, -69.25)
CIE-LCHlch(46.70, 81.28, 301.56°)
OKLaboklab(55.82% 0.0403 -0.1989)
OKLCHoklch(55.82% 0.203 281.5)
XYZxyz(23.2741, 15.7928, 75.9354)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE5 #D9E55A
analogous
#5A93E5 #665AE5 #AC5AE5
triadic
#665AE5 #E5665A #5AE566
tetradic
#665AE5 #E55A93 #D9E55A #5AE5AC
square
#665AE5 #E55A93 #D9E55A #5AE5AC
split-complementary
#665AE5 #E5AC5A #93E55A
monochromatic
#271BAA #3525DD #665AE5 #978FED #C8C4F6

Accessibility & contrast

On white

5.05
#665AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#665AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE5#FFFFFF#000000##FFFFFF
##665AE51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#257C97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ae5;
/* rgb */ color: rgb(102, 90, 229);
/* oklch */ color: oklch(55.8% 0.203 281.5);
Tailwind
colors: {
  custom: {
    50: '#9c89ee',
    500: '#665ae5',
    950: '#000000',
  },
}
SCSS
$custom: #665ae5;
$custom-light: #9c89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae5",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 245.18,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.20291,
    "h": 281.5
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#665AE5
secondary
#E2E7B4
accent
#D511C4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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