#6782EC#6782EC

#6782EC is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.7% C 0.161 H 270.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6782EC
RGBrgb(103, 130, 236)
HSLhsl(228, 78%, 66%)
HSVhsv(228, 56%, 93%)
CMYKcmyk(56.4%, 44.9%, 0%, 7.5%)
CIE-LABlab(56.98, 20.92, -56.60)
CIE-LCHlch(56.98, 60.34, 290.28°)
OKLaboklab(63.68% 0.0014 -0.1613)
OKLCHoklch(63.68% 0.161 270.5)
XYZxyz(28.7115, 24.9028, 82.6343)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6782EC #ECD167
analogous
#67C4EC #6782EC #8F67EC
triadic
#6782EC #EC6782 #82EC67
tetradic
#6782EC #EC67C4 #ECD167 #67EC8F
square
#6782EC #EC67C4 #ECD167 #67EC8F
split-complementary
#6782EC #EC8F67 #C4EC67
monochromatic
#183AC1 #3155E5 #6782EC #9DAFF3 #D4DBFA

Accessibility & contrast

On white

3.51
#6782EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#6782EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6782EC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6782EC#FFFFFF#000000##000000
##6782EC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#0B9AAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6782ec;
/* rgb */ color: rgb(103, 130, 236);
/* oklch */ color: oklch(63.7% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#9ca5f3',
    500: '#6782ec',
    950: '#000000',
  },
}
SCSS
$custom: #6782ec;
$custom-light: #9ca5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6782ec",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 227.82,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6368,
    "c": 0.16129,
    "h": 270.5
  },
  "luminance": 0.24905
}

Semantic roles & 50–950 ramp

primary
#6782EC
secondary
#EDE4C2
accent
#B00BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6782EC

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

Preview Lab → · Contrast checker → · Palette generator →

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