#664EFF#664EFF

#664EFF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 56.2% C 0.248 H 281.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#664EFF
RGBrgb(102, 78, 255)
HSLhsl(248, 100%, 65%)
HSVhsv(248, 69%, 100%)
CMYKcmyk(60%, 69.4%, 0%, 0%)
CIE-LABlab(46.30, 57.07, -84.49)
CIE-LCHlch(46.30, 101.96, 304.04°)
OKLaboklab(56.17% 0.0472 -0.2436)
OKLCHoklch(56.17% 0.248 281)
XYZxyz(26.2482, 15.4917, 96.1954)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EFF #E7FF4E
analogous
#4E8EFF #664EFF #BF4EFF
triadic
#664EFF #FF664E #4EFF66
tetradic
#664EFF #FF4E8E #E7FF4E #4EFFBF
square
#664EFF #FF4E8E #E7FF4E #4EFFBF
split-complementary
#664EFF #FFBF4E #8EFF4E
monochromatic
#1D00D3 #3111FF #664EFF #9B8BFF #D0C8FF

Accessibility & contrast

On white

5.12
#664EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#664EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EFF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EFF#FFFFFF#000000##FFFFFF
##664EFF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#007EA1
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #664eff;
/* rgb */ color: rgb(102, 78, 255);
/* oklch */ color: oklch(56.2% 0.248 281.0);
Tailwind
colors: {
  custom: {
    50: '#a182ff',
    500: '#664eff',
    950: '#000000',
  },
}
SCSS
$custom: #664eff;
$custom-light: #a182ff;
$custom-dark: #000000;
JSON
{
  "hex": "#664eff",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 248.136,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.24812,
    "h": 281
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#664EFF
secondary
#EAF2B7
accent
#E600C6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #664EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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