#6664EA#6664EA

#6664EA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.9% C 0.197 H 279.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6664EA
RGBrgb(102, 100, 234)
HSLhsl(241, 76%, 65%)
HSVhsv(241, 57%, 92%)
CMYKcmyk(56.4%, 57.3%, 0%, 8.2%)
CIE-LABlab(49.35, 38.19, -67.78)
CIE-LCHlch(49.35, 77.79, 299.40°)
OKLaboklab(57.88% 0.0307 -0.1945)
OKLCHoklch(57.88% 0.197 279)
XYZxyz(24.8832, 17.8779, 79.9655)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6664EA #E8EA64
analogous
#64A5EA #6664EA #A964EA
triadic
#6664EA #EA6664 #64EA66
tetradic
#6664EA #EA64A5 #E8EA64 #64EAA9
square
#6664EA #EA64A5 #E8EA64 #64EAA9
split-complementary
#6664EA #EAA964 #A5EA64
monochromatic
#1C19BA #312EE3 #6664EA #9B9AF1 #D0D0F9

Accessibility & contrast

On white

4.59
#6664EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6664EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6664EA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6664EA#FFFFFF#000000##FFFFFF
##6664EA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#19849D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6664ea;
/* rgb */ color: rgb(102, 100, 234);
/* oklch */ color: oklch(57.9% 0.197 279.0);
Tailwind
colors: {
  custom: {
    50: '#9c90f2',
    500: '#6664ea',
    950: '#000000',
  },
}
SCSS
$custom: #6664ea;
$custom-light: #9c90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6664ea",
  "rgb": {
    "r": 102,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 240.896,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.19685,
    "h": 279
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#6664EA
secondary
#EBEBBE
accent
#D80DD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6664EA

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

Preview Lab → · Contrast checker → · Palette generator →

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