#665FF5#665FF5

#665FF5 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.9% C 0.217 H 279.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#665FF5
RGBrgb(102, 95, 245)
HSLhsl(243, 88%, 67%)
HSVhsv(243, 61%, 96%)
CMYKcmyk(58.4%, 61.2%, 0%, 3.9%)
CIE-LABlab(49.01, 44.57, -74.49)
CIE-LCHlch(49.01, 86.81, 300.89°)
OKLaboklab(57.88% 0.0349 -0.2142)
OKLCHoklch(57.88% 0.217 279.3)
XYZxyz(26.0479, 17.5999, 88.3930)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FF5 #EEF55F
analogous
#5FA3F5 #665FF5 #B15FF5
triadic
#665FF5 #F5665F #5FF566
tetradic
#665FF5 #F55FA3 #EEF55F #5FF5B1
square
#665FF5 #F55FA3 #EEF55F #5FF5B1
split-complementary
#665FF5 #F5B15F #A3F55F
monochromatic
#160DCD #2F25F1 #665FF5 #9D99F9 #D4D2FC

Accessibility & contrast

On white

4.65
#665FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#665FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #665FF5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FF5#FFFFFF#000000##FFFFFF
##665FF51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #665ff5;
/* rgb */ color: rgb(102, 95, 245);
/* oklch */ color: oklch(57.9% 0.217 279.3);
Tailwind
colors: {
  custom: {
    50: '#9e8df9',
    500: '#665ff5',
    950: '#000000',
  },
}
SCSS
$custom: #665ff5;
$custom-light: #9e8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#665ff5",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 242.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.21704,
    "h": 279.3
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#665FF5
secondary
#EEF0C0
accent
#E501DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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