#665AF5#665AF5

#665AF5 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.1% C 0.223 H 280.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#665AF5
RGBrgb(102, 90, 245)
HSLhsl(245, 89%, 66%)
HSVhsv(245, 63%, 96%)
CMYKcmyk(58.4%, 63.3%, 0%, 3.9%)
CIE-LABlab(47.92, 47.45, -76.27)
CIE-LCHlch(47.92, 89.83, 301.89°)
OKLaboklab(57.08% 0.0392 -0.2195)
OKLCHoklch(57.08% 0.223 280.1)
XYZxyz(25.6119, 16.7279, 88.2477)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AF5 #E9F55A
analogous
#5A9BF5 #665AF5 #B35AF5
triadic
#665AF5 #F5665A #5AF566
tetradic
#665AF5 #F55A9B #E9F55A #5AF5B3
square
#665AF5 #F55A9B #E9F55A #5AF5B3
split-complementary
#665AF5 #F5B35A #9BF55A
monochromatic
#1B0CC8 #3020F2 #665AF5 #9C94F8 #D1CDFC

Accessibility & contrast

On white

4.83
#665AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#665AF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AF5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AF5#FFFFFF#000000##FFFFFF
##665AF51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665af5;
/* rgb */ color: rgb(102, 90, 245);
/* oklch */ color: oklch(57.1% 0.223 280.1);
Tailwind
colors: {
  custom: {
    50: '#9f89fa',
    500: '#665af5',
    950: '#000000',
  },
}
SCSS
$custom: #665af5;
$custom-light: #9f89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#665af5",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 244.645,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.22294,
    "h": 280.1
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#665AF5
secondary
#EBEFBC
accent
#E500D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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