#6780EC#6780EC

#6780EC is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.164 H 271.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6780EC
RGBrgb(103, 128, 236)
HSLhsl(229, 78%, 66%)
HSVhsv(229, 56%, 93%)
CMYKcmyk(56.4%, 45.8%, 0%, 7.5%)
CIE-LABlab(56.46, 22.12, -57.43)
CIE-LCHlch(56.46, 61.54, 291.07°)
OKLaboklab(63.29% 0.0036 -0.1637)
OKLCHoklch(63.29% 0.164 271.2)
XYZxyz(28.4480, 24.3759, 82.5465)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6780EC #ECD367
analogous
#67C3EC #6780EC #9167EC
triadic
#6780EC #EC6780 #80EC67
tetradic
#6780EC #EC67C3 #ECD367 #67EC91
square
#6780EC #EC67C3 #ECD367 #67EC91
split-complementary
#6780EC #EC9167 #C3EC67
monochromatic
#1838C1 #3153E5 #6780EC #9DADF3 #D4DBFA

Accessibility & contrast

On white

3.57
#6780EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#6780EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6780EC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6780EC#FFFFFF#000000##000000
##6780EC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF0
Deuteranopia (green-blind)
#3B82EA
Tritanopia (blue-blind)
#0C98AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6780ec;
/* rgb */ color: rgb(103, 128, 236);
/* oklch */ color: oklch(63.3% 0.164 271.2);
Tailwind
colors: {
  custom: {
    50: '#9ca4f3',
    500: '#6780ec',
    950: '#000000',
  },
}
SCSS
$custom: #6780ec;
$custom-light: #9ca4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6780ec",
  "rgb": {
    "r": 103,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 228.722,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.16378,
    "h": 271.2
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#6780EC
secondary
#EDE5C2
accent
#B30BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6780EC

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

Preview Lab → · Contrast checker → · Palette generator →

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