#6782EB#6782EB

#6782EB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.160 H 270.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6782EB
RGBrgb(103, 130, 235)
HSLhsl(228, 77%, 66%)
HSVhsv(228, 56%, 92%)
CMYKcmyk(56.2%, 44.7%, 0%, 7.8%)
CIE-LABlab(56.92, 20.59, -56.14)
CIE-LCHlch(56.92, 59.79, 290.15°)
OKLaboklab(63.62% 0.0013 -0.1599)
OKLCHoklch(63.62% 0.16 270.5)
XYZxyz(28.5666, 24.8448, 81.8713)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6782EB #EBD067
analogous
#67C4EB #6782EB #8E67EB
triadic
#6782EB #EB6782 #82EB67
tetradic
#6782EB #EB67C4 #EBD067 #67EB8E
square
#6782EB #EB67C4 #EBD067 #67EB8E
split-complementary
#6782EB #EB8E67 #C4EB67
monochromatic
#193BBF #3156E4 #6782EB #9DAEF2 #D3DBF9

Accessibility & contrast

On white

3.52
#6782EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#6782EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6782EB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6782EB#FFFFFF#000000##000000
##6782EB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FEF
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#0F99AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6782eb;
/* rgb */ color: rgb(103, 130, 235);
/* oklch */ color: oklch(63.6% 0.160 270.5);
Tailwind
colors: {
  custom: {
    50: '#9ca5f2',
    500: '#6782eb',
    950: '#000000',
  },
}
SCSS
$custom: #6782eb;
$custom-light: #9ca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6782eb",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 227.727,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63619,
    "c": 0.15993,
    "h": 270.5
  },
  "luminance": 0.24847
}

Semantic roles & 50–950 ramp

primary
#6782EB
secondary
#ECE4C1
accent
#AF0DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6782EB

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

Preview Lab → · Contrast checker → · Palette generator →

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