#664DF0#664DF0

#664DF0 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.7% C 0.232 H 282.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#664DF0
RGBrgb(102, 77, 240)
HSLhsl(249, 84%, 62%)
HSVhsv(249, 68%, 94%)
CMYKcmyk(57.5%, 67.9%, 0%, 5.9%)
CIE-LABlab(44.83, 53.19, -78.51)
CIE-LCHlch(44.83, 94.83, 304.12°)
OKLaboklab(54.73% 0.0505 -0.226)
OKLCHoklch(54.73% 0.232 282.6)
XYZxyz(23.8567, 14.4222, 83.9478)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DF0 #D7F04D
analogous
#4D86F0 #664DF0 #B74DF0
triadic
#664DF0 #F0664D #4DF066
tetradic
#664DF0 #F04D86 #D7F04D #4DF0B7
square
#664DF0 #F04D86 #D7F04D #4DF0B7
split-complementary
#664DF0 #F0B74D #86F04D
monochromatic
#280FB3 #3515EB #664DF0 #9785F5 #C7BEFA

Accessibility & contrast

On white

5.41
#664DF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#664DF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DF0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DF0#FFFFFF#000000##FFFFFF
##664DF01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF5
Deuteranopia (green-blind)
#0064ED
Tritanopia (blue-blind)
#107899
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #664df0;
/* rgb */ color: rgb(102, 77, 240);
/* oklch */ color: oklch(54.7% 0.232 282.6);
Tailwind
colors: {
  custom: {
    50: '#9f81f6',
    500: '#664df0',
    950: '#000000',
  },
}
SCSS
$custom: #664df0;
$custom-light: #9f81f6;
$custom-dark: #000000;
JSON
{
  "hex": "#664df0",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 240
  },
  "hsl": {
    "h": 249.202,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.2316,
    "h": 282.6
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#664DF0
secondary
#E1EAAE
accent
#E105BF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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