#6781F7#6781F7

#6781F7 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.2% C 0.177 H 271.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6781F7
RGBrgb(103, 129, 247)
HSLhsl(229, 90%, 69%)
HSVhsv(229, 58%, 97%)
CMYKcmyk(58.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(57.36, 25.06, -62.08)
CIE-LCHlch(57.36, 66.95, 291.98°)
OKLaboklab(64.18% 0.0039 -0.1774)
OKLCHoklch(64.18% 0.177 271.3)
XYZxyz(30.2267, 25.2971, 91.2676)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781F7 #F7DD67
analogous
#67C9F7 #6781F7 #9567F7
triadic
#6781F7 #F76781 #81F767
tetradic
#6781F7 #F767C9 #F7DD67 #67F795
square
#6781F7 #F767C9 #F7DD67 #67F795
split-complementary
#6781F7 #F79567 #C9F767
monochromatic
#0B30D8 #2D51F4 #6781F7 #A1B1FA #DBE1FD

Accessibility & contrast

On white

3.47
#6781F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#6781F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781F7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781F7#FFFFFF#000000##000000
##6781F71.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#2D84F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6781f7;
/* rgb */ color: rgb(103, 129, 247);
/* oklch */ color: oklch(64.2% 0.177 271.3);
Tailwind
colors: {
  custom: {
    50: '#9da5fa',
    500: '#6781f7',
    950: '#000000',
  },
}
SCSS
$custom: #6781f7;
$custom-light: #9da5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6781f7",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 229.167,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64179,
    "c": 0.17745,
    "h": 271.3
  },
  "luminance": 0.25299
}

Semantic roles & 50–950 ramp

primary
#6781F7
secondary
#F2EBC7
accent
#BC00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6781F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6781F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva