#6782F6#6782F6

#6782F6 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.3% C 0.175 H 270.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6782F6
RGBrgb(103, 130, 246)
HSLhsl(229, 89%, 68%)
HSVhsv(229, 58%, 96%)
CMYKcmyk(58.1%, 47.2%, 0%, 3.5%)
CIE-LABlab(57.56, 24.14, -61.22)
CIE-LCHlch(57.56, 65.81, 291.52°)
OKLaboklab(64.31% 0.0028 -0.1748)
OKLCHoklch(64.31% 0.175 270.9)
XYZxyz(30.2052, 25.5003, 90.5012)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6782F6 #F6DB67
analogous
#67CAF6 #6782F6 #9367F6
triadic
#6782F6 #F66782 #82F667
tetradic
#6782F6 #F667CA #F6DB67 #67F693
square
#6782F6 #F667CA #F6DB67 #67F693
split-complementary
#6782F6 #F69367 #CAF667
monochromatic
#0D33D6 #2D52F3 #6782F6 #A1B2F9 #DBE1FD

Accessibility & contrast

On white

3.44
#6782F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#6782F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6782F6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6782F6#FFFFFF#000000##000000
##6782F61.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#3284F4
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6782f6;
/* rgb */ color: rgb(103, 130, 246);
/* oklch */ color: oklch(64.3% 0.175 270.9);
Tailwind
colors: {
  custom: {
    50: '#9da5fa',
    500: '#6782f6',
    950: '#000000',
  },
}
SCSS
$custom: #6782f6;
$custom-light: #9da5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6782f6",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 228.671,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.17487,
    "h": 270.9
  },
  "luminance": 0.25503
}

Semantic roles & 50–950 ramp

primary
#6782F6
secondary
#F2EAC7
accent
#BA00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6782F6

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

Preview Lab → · Contrast checker → · Palette generator →

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