#664BFC#664BFC

#664BFC is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.5% C 0.248 H 281.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#664BFC
RGBrgb(102, 75, 252)
HSLhsl(249, 97%, 64%)
HSVhsv(249, 70%, 99%)
CMYKcmyk(59.5%, 70.2%, 0%, 1.2%)
CIE-LABlab(45.47, 57.76, -84.18)
CIE-LCHlch(45.47, 102.09, 304.46°)
OKLaboklab(55.5% 0.0499 -0.2426)
OKLCHoklch(55.5% 0.248 281.6)
XYZxyz(25.5608, 14.8834, 93.6024)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BFC #E1FC4B
analogous
#4B88FC #664BFC #BF4BFC
triadic
#664BFC #FC664B #4BFC66
tetradic
#664BFC #FC4B88 #E1FC4B #4BFCBF
square
#664BFC #FC4B88 #E1FC4B #4BFCBF
split-complementary
#664BFC #FCBF4B #88FC4B
monochromatic
#2203C9 #330FFB #664BFC #9987FD #CCC3FE

Accessibility & contrast

On white

5.28
#664BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#664BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BFC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BFC#FFFFFF#000000##FFFFFF
##664BFC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0065F9
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #664bfc;
/* rgb */ color: rgb(102, 75, 252);
/* oklch */ color: oklch(55.5% 0.248 281.6);
Tailwind
colors: {
  custom: {
    50: '#a180ff',
    500: '#664bfc',
    950: '#000000',
  },
}
SCSS
$custom: #664bfc;
$custom-light: #a180ff;
$custom-dark: #000000;
JSON
{
  "hex": "#664bfc",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 249.153,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.24773,
    "h": 281.6
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#664BFC
secondary
#E7F0B3
accent
#E600C2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #664BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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