#664EF0#664EF0

#664EF0 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.9% C 0.231 H 282.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#664EF0
RGBrgb(102, 78, 240)
HSLhsl(249, 84%, 62%)
HSVhsv(249, 68%, 94%)
CMYKcmyk(57.5%, 67.5%, 0%, 5.9%)
CIE-LABlab(45.03, 52.65, -78.18)
CIE-LCHlch(45.03, 94.26, 303.96°)
OKLaboklab(54.87% 0.0497 -0.2251)
OKLCHoklch(54.87% 0.231 282.4)
XYZxyz(23.9272, 14.5633, 83.9713)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EF0 #D8F04E
analogous
#4E87F0 #664EF0 #B74EF0
triadic
#664EF0 #F0664E #4EF066
tetradic
#664EF0 #F04E87 #D8F04E #4EF0B7
square
#664EF0 #F04E87 #D8F04E #4EF0B7
split-complementary
#664EF0 #F0B74E #87F04E
monochromatic
#280FB4 #3516EB #664EF0 #9786F5 #C8BFFA

Accessibility & contrast

On white

5.37
#664EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#664EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EF0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EF0#FFFFFF#000000##FFFFFF
##664EF01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F5
Deuteranopia (green-blind)
#0065ED
Tritanopia (blue-blind)
#107899
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #664ef0;
/* rgb */ color: rgb(102, 78, 240);
/* oklch */ color: oklch(54.9% 0.231 282.4);
Tailwind
colors: {
  custom: {
    50: '#9f82f6',
    500: '#664ef0',
    950: '#000000',
  },
}
SCSS
$custom: #664ef0;
$custom-light: #9f82f6;
$custom-dark: #000000;
JSON
{
  "hex": "#664ef0",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 240
  },
  "hsl": {
    "h": 248.889,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.23051,
    "h": 282.4
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#664EF0
secondary
#E2EAAF
accent
#E105C0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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