#6668EC#6668EC

#6668EC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.7% C 0.194 H 277.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6668EC
RGBrgb(102, 104, 236)
HSLhsl(239, 78%, 66%)
HSVhsv(239, 57%, 93%)
CMYKcmyk(56.8%, 55.9%, 0%, 7.5%)
CIE-LABlab(50.43, 36.43, -67.15)
CIE-LCHlch(50.43, 76.39, 298.48°)
OKLaboklab(58.73% 0.0268 -0.1926)
OKLCHoklch(58.73% 0.194 277.9)
XYZxyz(25.5653, 18.7797, 81.6183)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6668EC #ECEA66
analogous
#66ABEC #6668EC #A766EC
triadic
#6668EC #EC6668 #68EC66
tetradic
#6668EC #EC66AB #ECEA66 #66ECA7
square
#6668EC #EC66AB #ECEA66 #66ECA7
split-complementary
#6668EC #ECA766 #ABEC66
monochromatic
#181AC0 #3032E5 #6668EC #9C9EF3 #D3D3FA

Accessibility & contrast

On white

4.42
#6668EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6668EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6668EC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6668EC#FFFFFF#000000##000000
##6668EC1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#1287A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6668ec;
/* rgb */ color: rgb(102, 104, 236);
/* oklch */ color: oklch(58.7% 0.194 277.9);
Tailwind
colors: {
  custom: {
    50: '#9d93f3',
    500: '#6668ec',
    950: '#000000',
  },
}
SCSS
$custom: #6668ec;
$custom-light: #9d93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6668ec",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 239.104,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.19443,
    "h": 277.9
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#6668EC
secondary
#EDECC1
accent
#D70BDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6668EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6668EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva