#665FE1#665FE1

#665FE1 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.4% C 0.191 H 280.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#665FE1
RGBrgb(102, 95, 225)
HSLhsl(243, 68%, 63%)
HSVhsv(243, 58%, 88%)
CMYKcmyk(54.7%, 57.8%, 0%, 11.8%)
CIE-LABlab(47.55, 38.36, -65.61)
CIE-LCHlch(47.55, 76.00, 300.31°)
OKLaboklab(56.35% 0.0356 -0.1881)
OKLCHoklch(56.35% 0.191 280.7)
XYZxyz(23.1581, 16.4440, 73.1733)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FE1 #DAE15F
analogous
#5F99E1 #665FE1 #A75FE1
triadic
#665FE1 #E1665F #5FE166
tetradic
#665FE1 #E15F99 #DAE15F #5FE1A7
square
#665FE1 #E15F99 #DAE15F #5FE1A7
split-complementary
#665FE1 #E1A75F #99E15F
monochromatic
#261FA6 #352BD7 #665FE1 #9793EB #C9C6F4

Accessibility & contrast

On white

4.90
#665FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#665FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FE1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FE1#FFFFFF#000000##FFFFFF
##665FE11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#2A7E97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665fe1;
/* rgb */ color: rgb(102, 95, 225);
/* oklch */ color: oklch(56.4% 0.191 280.7);
Tailwind
colors: {
  custom: {
    50: '#9b8deb',
    500: '#665fe1',
    950: '#000000',
  },
}
SCSS
$custom: #665fe1;
$custom-light: #9b8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#665fe1",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 243.231,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.19146,
    "h": 280.7
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#665FE1
secondary
#E3E5B6
accent
#D015C6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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