#664DEE#664DEE

#664DEE is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.6% C 0.229 H 282.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#664DEE
RGBrgb(102, 77, 238)
HSLhsl(249, 83%, 62%)
HSVhsv(249, 68%, 93%)
CMYKcmyk(57.1%, 67.6%, 0%, 6.7%)
CIE-LABlab(44.67, 52.60, -77.66)
CIE-LCHlch(44.67, 93.79, 304.11°)
OKLaboklab(54.56% 0.0508 -0.2235)
OKLCHoklch(54.56% 0.229 282.8)
XYZxyz(23.5612, 14.3041, 82.3918)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DEE #D5EE4D
analogous
#4D85EE #664DEE #B74DEE
triadic
#664DEE #EE664D #4DEE66
tetradic
#664DEE #EE4D85 #D5EE4D #4DEEB7
square
#664DEE #EE4D85 #D5EE4D #4DEEB7
split-complementary
#664DEE #EEB74D #85EE4D
monochromatic
#2911B0 #3716E8 #664DEE #9685F3 #C6BDF9

Accessibility & contrast

On white

5.44
#664DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#664DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DEE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DEE#FFFFFF#000000##FFFFFF
##664DEE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF3
Deuteranopia (green-blind)
#0064EB
Tritanopia (blue-blind)
#167798
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #664dee;
/* rgb */ color: rgb(102, 77, 238);
/* oklch */ color: oklch(54.6% 0.229 282.8);
Tailwind
colors: {
  custom: {
    50: '#9f81f5',
    500: '#664dee',
    950: '#000000',
  },
}
SCSS
$custom: #664dee;
$custom-light: #9f81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#664dee",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 238
  },
  "hsl": {
    "h": 249.317,
    "s": 82.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.22923,
    "h": 282.8
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#664DEE
secondary
#E0E9AE
accent
#DF07BD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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