#6664E7#6664E7

#6664E7 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.7% C 0.193 H 279.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6664E7
RGBrgb(102, 100, 231)
HSLhsl(241, 73%, 65%)
HSVhsv(241, 57%, 91%)
CMYKcmyk(55.8%, 56.7%, 0%, 9.4%)
CIE-LABlab(49.14, 37.25, -66.43)
CIE-LCHlch(49.14, 76.16, 299.28°)
OKLaboklab(57.66% 0.0307 -0.1905)
OKLCHoklch(57.66% 0.193 279.1)
XYZxyz(24.4559, 17.7070, 77.7149)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6664E7 #E5E764
analogous
#64A4E7 #6664E7 #A864E7
triadic
#6664E7 #E76664 #64E766
tetradic
#6664E7 #E764A4 #E5E764 #64E7A8
square
#6664E7 #E764A4 #E5E764 #64E7A8
split-complementary
#6664E7 #E7A864 #A4E764
monochromatic
#1E1CB5 #322FDF #6664E7 #9A99EF #CFCEF7

Accessibility & contrast

On white

4.62
#6664E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6664E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6664E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6664E7#FFFFFF#000000##FFFFFF
##6664E71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#20839C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6664e7;
/* rgb */ color: rgb(102, 100, 231);
/* oklch */ color: oklch(57.7% 0.193 279.1);
Tailwind
colors: {
  custom: {
    50: '#9c90ef',
    500: '#6664e7',
    950: '#000000',
  },
}
SCSS
$custom: #6664e7;
$custom-light: #9c90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6664e7",
  "rgb": {
    "r": 102,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 240.916,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.19293,
    "h": 279.1
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#6664E7
secondary
#E9EABD
accent
#D510D2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6664E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6664E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva