#665FE4#665FE4

#665FE4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.6% C 0.195 H 280.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#665FE4
RGBrgb(102, 95, 228)
HSLhsl(243, 71%, 63%)
HSVhsv(243, 58%, 89%)
CMYKcmyk(55.3%, 58.3%, 0%, 10.6%)
CIE-LABlab(47.76, 39.29, -66.96)
CIE-LCHlch(47.76, 77.64, 300.40°)
OKLaboklab(56.58% 0.0356 -0.1921)
OKLCHoklch(56.58% 0.195 280.5)
XYZxyz(23.5709, 16.6091, 75.3476)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FE4 #DDE45F
analogous
#5F9AE4 #665FE4 #A85FE4
triadic
#665FE4 #E4665F #5FE466
tetradic
#665FE4 #E45F9A #DDE45F #5FE4A8
square
#665FE4 #E45F9A #DDE45F #5FE4A8
split-complementary
#665FE4 #E4A85F #9AE45F
monochromatic
#241DAC #342BDB #665FE4 #9893ED #CAC8F6

Accessibility & contrast

On white

4.86
#665FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#665FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FE4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FE4#FFFFFF#000000##FFFFFF
##665FE41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#267F98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665fe4;
/* rgb */ color: rgb(102, 95, 228);
/* oklch */ color: oklch(56.6% 0.195 280.5);
Tailwind
colors: {
  custom: {
    50: '#9c8ded',
    500: '#665fe4',
    950: '#000000',
  },
}
SCSS
$custom: #665fe4;
$custom-light: #9c8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#665fe4",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 243.158,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.19537,
    "h": 280.5
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#665FE4
secondary
#E5E7B8
accent
#D312C9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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