#6678EA#6678EA

#6678EA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.171 H 273.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6678EA
RGBrgb(102, 120, 234)
HSLhsl(232, 76%, 66%)
HSVhsv(232, 56%, 92%)
CMYKcmyk(56.4%, 48.7%, 0%, 8.2%)
CIE-LABlab(54.23, 26.12, -59.89)
CIE-LCHlch(54.23, 65.34, 293.56°)
OKLaboklab(61.54% 0.0106 -0.1711)
OKLCHoklch(61.54% 0.171 273.6)
XYZxyz(27.0424, 22.1962, 80.6852)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6678EA #EAD866
analogous
#66BAEA #6678EA #9666EA
triadic
#6678EA #EA6678 #78EA66
tetradic
#6678EA #EA66BA #EAD866 #66EA96
square
#6678EA #EA66BA #EAD866 #66EA96
split-complementary
#6678EA #EA9666 #BAEA66
monochromatic
#1A30BC #3049E3 #6678EA #9CA7F1 #D2D7F9

Accessibility & contrast

On white

3.86
#6678EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6678EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6678EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6678EA#FFFFFF#000000##000000
##6678EA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#2A7CE8
Tritanopia (blue-blind)
#1092A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6678ea;
/* rgb */ color: rgb(102, 120, 234);
/* oklch */ color: oklch(61.5% 0.171 273.6);
Tailwind
colors: {
  custom: {
    50: '#9b9ef1',
    500: '#6678ea',
    950: '#000000',
  },
}
SCSS
$custom: #6678ea;
$custom-light: #9b9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6678ea",
  "rgb": {
    "r": 102,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 231.818,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61539,
    "c": 0.1714,
    "h": 273.6
  },
  "luminance": 0.22198
}

Semantic roles & 50–950 ramp

primary
#6678EA
secondary
#ECE6C0
accent
#BC0DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6678EA

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

Preview Lab → · Contrast checker → · Palette generator →

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