#665AFA#665AFA

#665AFA is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.5% C 0.229 H 279.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#665AFA
RGBrgb(102, 90, 250)
HSLhsl(245, 94%, 67%)
HSVhsv(245, 64%, 98%)
CMYKcmyk(59.2%, 64%, 0%, 2%)
CIE-LABlab(48.31, 48.99, -78.42)
CIE-LCHlch(48.31, 92.47, 301.99°)
OKLaboklab(57.49% 0.0387 -0.2258)
OKLCHoklch(57.49% 0.229 279.7)
XYZxyz(26.3855, 17.0373, 92.3221)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AFA #EEFA5A
analogous
#5A9EFA #665AFA #B65AFA
triadic
#665AFA #FA665A #5AFA66
tetradic
#665AFA #FA5A9E #EEFA5A #5AFAB6
square
#665AFA #FA5A9E #EEFA5A #5AFAB6
split-complementary
#665AFA #FAB65A #9EFA5A
monochromatic
#1606D3 #2F1FF8 #665AFA #9D95FC #D4D1FE

Accessibility & contrast

On white

4.76
#665AFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#665AFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AFA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AFA#FFFFFF#000000##FFFFFF
##665AFA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006CF7
Tritanopia (blue-blind)
#0083A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #665afa;
/* rgb */ color: rgb(102, 90, 250);
/* oklch */ color: oklch(57.5% 0.229 279.7);
Tailwind
colors: {
  custom: {
    50: '#a08afd',
    500: '#665afa',
    950: '#000000',
  },
}
SCSS
$custom: #665afa;
$custom-light: #a08afd;
$custom-dark: #000000;
JSON
{
  "hex": "#665afa",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 250
  },
  "hsl": {
    "h": 244.5,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.22909,
    "h": 279.7
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#665AFA
secondary
#EEF2BE
accent
#E600D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #665AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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