#665FE5#665FE5

#665FE5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.6% C 0.197 H 280.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#665FE5
RGBrgb(102, 95, 229)
HSLhsl(243, 72%, 64%)
HSVhsv(243, 59%, 90%)
CMYKcmyk(55.5%, 58.5%, 0%, 10.2%)
CIE-LABlab(47.83, 39.60, -67.41)
CIE-LCHlch(47.83, 78.19, 300.43°)
OKLaboklab(56.65% 0.0356 -0.1934)
OKLCHoklch(56.65% 0.197 280.4)
XYZxyz(23.7101, 16.6648, 76.0808)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FE5 #DEE55F
analogous
#5F9BE5 #665FE5 #A95FE5
triadic
#665FE5 #E5665F #5FE566
tetradic
#665FE5 #E55F9B #DEE55F #5FE5A9
square
#665FE5 #E55F9B #DEE55F #5FE5A9
split-complementary
#665FE5 #E5A95F #9BE55F
monochromatic
#241CAD #342ADC #665FE5 #9894EE #CBC8F6

Accessibility & contrast

On white

4.85
#665FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#665FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FE5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FE5#FFFFFF#000000##FFFFFF
##665FE51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#247F99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665fe5;
/* rgb */ color: rgb(102, 95, 229);
/* oklch */ color: oklch(56.6% 0.197 280.4);
Tailwind
colors: {
  custom: {
    50: '#9c8dee',
    500: '#665fe5',
    950: '#000000',
  },
}
SCSS
$custom: #665fe5;
$custom-light: #9c8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#665fe5",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 243.134,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.19666,
    "h": 280.4
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#665FE5
secondary
#E5E8B8
accent
#D411CA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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