#6678DC#6678DC

#6678DC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.152 H 273.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6678DC
RGBrgb(102, 120, 220)
HSLhsl(231, 63%, 63%)
HSVhsv(231, 54%, 86%)
CMYKcmyk(53.6%, 45.5%, 0%, 13.7%)
CIE-LABlab(53.41, 21.65, -53.36)
CIE-LCHlch(53.41, 57.58, 292.08°)
OKLaboklab(60.65% 0.0089 -0.1519)
OKLCHoklch(60.65% 0.152 273.4)
XYZxyz(25.1101, 21.4233, 70.5082)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6678DC #DCCA66
analogous
#66B3DC #6678DC #8F66DC
triadic
#6678DC #DC6678 #78DC66
tetradic
#6678DC #DC66B3 #DCCA66 #66DC8F
square
#6678DC #DC66B3 #DCCA66 #66DC8F
split-complementary
#6678DC #DC8F66 #B3DC66
monochromatic
#2538A2 #344CD1 #6678DC #98A4E7 #CAD0F3

Accessibility & contrast

On white

3.97
#6678DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6678DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6678DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6678DC#FFFFFF#000000##000000
##6678DC1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#2B8E9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6678dc;
/* rgb */ color: rgb(102, 120, 220);
/* oklch */ color: oklch(60.6% 0.152 273.4);
Tailwind
colors: {
  custom: {
    50: '#9a9ee7',
    500: '#6678dc',
    950: '#000000',
  },
}
SCSS
$custom: #6678dc;
$custom-light: #9a9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6678dc",
  "rgb": {
    "r": 102,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 230.847,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.15214,
    "h": 273.4
  },
  "luminance": 0.21425
}

Semantic roles & 50–950 ramp

primary
#6678DC
secondary
#E4DEBA
accent
#B01BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6678DC

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

Preview Lab → · Contrast checker → · Palette generator →

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