#664FDD#664FDD

#664FDD is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.206 H 284.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#664FDD
RGBrgb(102, 79, 221)
HSLhsl(250, 68%, 59%)
HSVhsv(250, 64%, 87%)
CMYKcmyk(53.8%, 64.3%, 0%, 13.3%)
CIE-LABlab(43.71, 46.46, -69.59)
CIE-LCHlch(43.71, 83.67, 303.73°)
OKLaboklab(53.44% 0.0512 -0.1999)
OKLCHoklch(53.44% 0.206 284.4)
XYZxyz(21.3227, 13.6360, 69.9010)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FDD #C6DD4F
analogous
#4F7FDD #664FDD #AD4FDD
triadic
#664FDD #DD664F #4FDD66
tetradic
#664FDD #DD4F7F #C6DD4F #4FDDAD
square
#664FDD #DD4F7F #C6DD4F #4FDDAD
split-complementary
#664FDD #DDAD4F #7FDD4F
monochromatic
#301D95 #4127C8 #664FDD #9382E7 #BFB6F1

Accessibility & contrast

On white

5.63
#664FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#664FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FDD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FDD#FFFFFF#000000##FFFFFF
##664FDD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#32728F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664fdd;
/* rgb */ color: rgb(102, 79, 221);
/* oklch */ color: oklch(53.4% 0.206 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c82e9',
    500: '#664fdd',
    950: '#000000',
  },
}
SCSS
$custom: #664fdd;
$custom-light: #9c82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#664fdd",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 249.718,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.20633,
    "h": 284.4
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#664FDD
secondary
#D7E0A8
accent
#EA3DCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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