#6678EB#6678EB

#6678EB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.173 H 273.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6678EB
RGBrgb(102, 120, 235)
HSLhsl(232, 77%, 66%)
HSVhsv(232, 57%, 92%)
CMYKcmyk(56.6%, 48.9%, 0%, 7.8%)
CIE-LABlab(54.30, 26.44, -60.35)
CIE-LCHlch(54.30, 65.89, 293.66°)
OKLaboklab(61.61% 0.0107 -0.1724)
OKLCHoklch(61.61% 0.173 273.6)
XYZxyz(27.1865, 22.2539, 81.4440)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6678EB #EBD966
analogous
#66BAEB #6678EB #9666EB
triadic
#6678EB #EB6678 #78EB66
tetradic
#6678EB #EB66BA #EBD966 #66EB96
square
#6678EB #EB66BA #EBD966 #66EB96
split-complementary
#6678EB #EB9666 #BAEB66
monochromatic
#192FBE #3048E4 #6678EB #9CA8F2 #D2D8F9

Accessibility & contrast

On white

3.85
#6678EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6678EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6678EB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6678EB#FFFFFF#000000##000000
##6678EB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#287CE9
Tritanopia (blue-blind)
#0D92A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6678eb;
/* rgb */ color: rgb(102, 120, 235);
/* oklch */ color: oklch(61.6% 0.173 273.6);
Tailwind
colors: {
  custom: {
    50: '#9c9ef2',
    500: '#6678eb',
    950: '#000000',
  },
}
SCSS
$custom: #6678eb;
$custom-light: #9c9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6678eb",
  "rgb": {
    "r": 102,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 231.88,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61605,
    "c": 0.17276,
    "h": 273.6
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#6678EB
secondary
#ECE6C1
accent
#BD0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6678EB

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

Preview Lab → · Contrast checker → · Palette generator →

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