#664FDA#664FDA

#664FDA is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.203 H 284.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#664FDA
RGBrgb(102, 79, 218)
HSLhsl(250, 65%, 58%)
HSVhsv(250, 64%, 85%)
CMYKcmyk(53.2%, 63.8%, 0%, 14.5%)
CIE-LABlab(43.47, 45.56, -68.26)
CIE-LCHlch(43.47, 82.07, 303.72°)
OKLaboklab(53.2% 0.0515 -0.196)
OKLCHoklch(53.2% 0.203 284.7)
XYZxyz(20.9265, 13.4775, 67.8148)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FDA #C3DA4F
analogous
#4F7DDA #664FDA #AB4FDA
triadic
#664FDA #DA664F #4FDA66
tetradic
#664FDA #DA4F7D #C3DA4F #4FDAAB
square
#664FDA #DA4F7D #C3DA4F #4FDAAB
split-complementary
#664FDA #DAAB4F #7DDA4F
monochromatic
#311E90 #4229C3 #664FDA #9282E5 #BEB4EF

Accessibility & contrast

On white

5.68
#664FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#664FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FDA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FDA#FFFFFF#000000##FFFFFF
##664FDA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#35718D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664fda;
/* rgb */ color: rgb(102, 79, 218);
/* oklch */ color: oklch(53.2% 0.203 284.7);
Tailwind
colors: {
  custom: {
    50: '#9b82e6',
    500: '#664fda',
    950: '#000000',
  },
}
SCSS
$custom: #664fda;
$custom-light: #9b82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#664fda",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 249.928,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.20262,
    "h": 284.7
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#664FDA
secondary
#D5DEA7
accent
#E840CC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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