#6664E2#6664E2

#6664E2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.186 H 279.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6664E2
RGBrgb(102, 100, 226)
HSLhsl(241, 68%, 64%)
HSVhsv(241, 56%, 89%)
CMYKcmyk(54.9%, 55.8%, 0%, 11.4%)
CIE-LABlab(48.80, 35.68, -64.16)
CIE-LCHlch(48.80, 73.42, 299.08°)
OKLaboklab(57.29% 0.0306 -0.1838)
OKLCHoklch(57.29% 0.186 279.5)
XYZxyz(23.7598, 17.4286, 74.0488)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6664E2 #E0E264
analogous
#64A1E2 #6664E2 #A564E2
triadic
#6664E2 #E26664 #64E266
tetradic
#6664E2 #E264A1 #E0E264 #64E2A5
square
#6664E2 #E264A1 #E0E264 #64E2A5
split-complementary
#6664E2 #E2A564 #A1E264
monochromatic
#2220AC #3330D8 #6664E2 #9998EC #CCCBF5

Accessibility & contrast

On white

4.68
#6664E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6664E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6664E2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6664E2#FFFFFF#000000##FFFFFF
##6664E21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#288199
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6664e2;
/* rgb */ color: rgb(102, 100, 226);
/* oklch */ color: oklch(57.3% 0.186 279.5);
Tailwind
colors: {
  custom: {
    50: '#9b90ec',
    500: '#6664e2',
    950: '#000000',
  },
}
SCSS
$custom: #6664e2;
$custom-light: #9b90ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6664e2",
  "rgb": {
    "r": 102,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 240.952,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.18635,
    "h": 279.5
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#6664E2
secondary
#E6E7BB
accent
#D015CD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6664E2

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

Preview Lab → · Contrast checker → · Palette generator →

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