#6782F2#6782F2

#6782F2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.1% C 0.169 H 270.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6782F2
RGBrgb(103, 130, 242)
HSLhsl(228, 84%, 68%)
HSVhsv(228, 57%, 95%)
CMYKcmyk(57.4%, 46.3%, 0%, 5.1%)
CIE-LABlab(57.33, 22.85, -59.38)
CIE-LCHlch(57.33, 63.62, 291.04°)
OKLaboklab(64.05% 0.0023 -0.1694)
OKLCHoklch(64.05% 0.169 270.8)
XYZxyz(29.5978, 25.2573, 87.3026)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6782F2 #F2D767
analogous
#67C8F2 #6782F2 #9167F2
triadic
#6782F2 #F26782 #82F267
tetradic
#6782F2 #F267C8 #F2D767 #67F291
square
#6782F2 #F267C8 #F2D767 #67F291
split-complementary
#6782F2 #F29167 #C8F267
monochromatic
#1236CD #2F54ED #6782F2 #9FB0F7 #D8DFFC

Accessibility & contrast

On white

3.47
#6782F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#6782F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6782F2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6782F2#FFFFFF#000000##000000
##6782F21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#3884F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6782f2;
/* rgb */ color: rgb(103, 130, 242);
/* oklch */ color: oklch(64.1% 0.169 270.8);
Tailwind
colors: {
  custom: {
    50: '#9da5f7',
    500: '#6782f2',
    950: '#000000',
  },
}
SCSS
$custom: #6782f2;
$custom-light: #9da5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6782f2",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 228.345,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64055,
    "c": 0.16947,
    "h": 270.8
  },
  "luminance": 0.2526
}

Semantic roles & 50–950 ramp

primary
#6782F2
secondary
#F0E8C5
accent
#B605E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6782F2

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

Preview Lab → · Contrast checker → · Palette generator →

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