#665AF1#665AF1

#665AF1 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.8% C 0.218 H 280.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#665AF1
RGBrgb(102, 90, 241)
HSLhsl(245, 84%, 65%)
HSVhsv(245, 63%, 95%)
CMYKcmyk(57.7%, 62.7%, 0%, 5.5%)
CIE-LABlab(47.61, 46.23, -74.54)
CIE-LCHlch(47.61, 87.71, 301.81°)
OKLaboklab(56.76% 0.0395 -0.2144)
OKLCHoklch(56.76% 0.218 280.4)
XYZxyz(25.0078, 16.4863, 85.0664)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AF1 #E5F15A
analogous
#5A9AF1 #665AF1 #B15AF1
triadic
#665AF1 #F1665A #5AF166
tetradic
#665AF1 #F15A9A #E5F15A #5AF1B1
square
#665AF1 #F15A9A #E5F15A #5AF1B1
split-complementary
#665AF1 #F1B15A #9AF15A
monochromatic
#1E10C0 #3222EC #665AF1 #9A92F6 #CFCBFB

Accessibility & contrast

On white

4.89
#665AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#665AF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AF1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AF1#FFFFFF#000000##FFFFFF
##665AF11.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#06809D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665af1;
/* rgb */ color: rgb(102, 90, 241);
/* oklch */ color: oklch(56.8% 0.218 280.4);
Tailwind
colors: {
  custom: {
    50: '#9e89f7',
    500: '#665af1',
    950: '#000000',
  },
}
SCSS
$custom: #665af1;
$custom-light: #9e89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#665af1",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 244.768,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.21799,
    "h": 280.4
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#665AF1
secondary
#E9EDBA
accent
#E105CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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