#665EF5#665EF5

#665EF5 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.7% C 0.218 H 279.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#665EF5
RGBrgb(102, 94, 245)
HSLhsl(243, 88%, 66%)
HSVhsv(243, 62%, 96%)
CMYKcmyk(58.4%, 61.6%, 0%, 3.9%)
CIE-LABlab(48.79, 45.15, -74.85)
CIE-LCHlch(48.79, 87.42, 301.10°)
OKLaboklab(57.72% 0.0358 -0.2153)
OKLCHoklch(57.72% 0.218 279.4)
XYZxyz(25.9584, 17.4209, 88.3632)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EF5 #EDF55E
analogous
#5EA2F5 #665EF5 #B25EF5
triadic
#665EF5 #F5665E #5EF566
tetradic
#665EF5 #F55EA2 #EDF55E #5EF5B2
square
#665EF5 #F55EA2 #EDF55E #5EF5B2
split-complementary
#665EF5 #F5B25E #A2F55E
monochromatic
#170DCC #2F24F1 #665EF5 #9D98F9 #D4D1FC

Accessibility & contrast

On white

4.68
#665EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#665EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EF5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EF5#FFFFFF#000000##FFFFFF
##665EF51.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #665ef5;
/* rgb */ color: rgb(102, 94, 245);
/* oklch */ color: oklch(57.7% 0.218 279.4);
Tailwind
colors: {
  custom: {
    50: '#9f8cf9',
    500: '#665ef5',
    950: '#000000',
  },
}
SCSS
$custom: #665ef5;
$custom-light: #9f8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#665ef5",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 243.179,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.21824,
    "h": 279.4
  },
  "luminance": 0.17423
}

Semantic roles & 50–950 ramp

primary
#665EF5
secondary
#EDF0BF
accent
#E501D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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