#664FE6#664FE6

#664FE6 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.217 H 283.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#664FE6
RGBrgb(102, 79, 230)
HSLhsl(249, 75%, 61%)
HSVhsv(249, 66%, 90%)
CMYKcmyk(55.7%, 65.7%, 0%, 9.8%)
CIE-LABlab(44.42, 49.13, -73.54)
CIE-LCHlch(44.42, 88.45, 303.75°)
OKLaboklab(54.18% 0.0502 -0.2115)
OKLCHoklch(54.18% 0.217 283.4)
XYZxyz(22.5540, 14.1285, 76.3862)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FE6 #CFE64F
analogous
#4F83E6 #664FE6 #B14FE6
triadic
#664FE6 #E6664F #4FE666
tetradic
#664FE6 #E64F83 #CFE64F #4FE6B1
square
#664FE6 #E64F83 #CFE64F #4FE6B1
split-complementary
#664FE6 #E6B14F #83E64F
monochromatic
#2D17A3 #3B1FD9 #664FE6 #9585EE #C3BAF5

Accessibility & contrast

On white

5.49
#664FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#664FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FE6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FE6#FFFFFF#000000##FFFFFF
##664FE61.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#267594
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #664fe6;
/* rgb */ color: rgb(102, 79, 230);
/* oklch */ color: oklch(54.2% 0.217 283.4);
Tailwind
colors: {
  custom: {
    50: '#9d82ef',
    500: '#664fe6',
    950: '#000000',
  },
}
SCSS
$custom: #664fe6;
$custom-light: #9d82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#664fe6",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 249.139,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.21735,
    "h": 283.4
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#664FE6
secondary
#DCE5AC
accent
#D70EB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664FE6

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

Preview Lab → · Contrast checker → · Palette generator →

#664FE6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva