#6781F6#6781F6

#6781F6 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.1% C 0.176 H 271.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6781F6
RGBrgb(103, 129, 246)
HSLhsl(229, 89%, 68%)
HSVhsv(229, 58%, 96%)
CMYKcmyk(58.1%, 47.6%, 0%, 3.5%)
CIE-LABlab(57.30, 24.74, -61.63)
CIE-LCHlch(57.30, 66.41, 291.87°)
OKLaboklab(64.11% 0.0038 -0.1761)
OKLCHoklch(64.11% 0.176 271.2)
XYZxyz(30.0728, 25.2355, 90.4571)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781F6 #F6DC67
analogous
#67C8F6 #6781F6 #9467F6
triadic
#6781F6 #F66781 #81F667
tetradic
#6781F6 #F667C8 #F6DC67 #67F694
square
#6781F6 #F667C8 #F6DC67 #67F694
split-complementary
#6781F6 #F69467 #C8F667
monochromatic
#0D31D6 #2D51F3 #6781F6 #A1B1F9 #DBE1FD

Accessibility & contrast

On white

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

On black

6.05
#6781F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781F6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781F6#FFFFFF#000000##000000
##6781F61.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)
#4790FA
Deuteranopia (green-blind)
#2F84F4
Tritanopia (blue-blind)
#009BB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6781f6;
/* rgb */ color: rgb(103, 129, 246);
/* oklch */ color: oklch(64.1% 0.176 271.2);
Tailwind
colors: {
  custom: {
    50: '#9da5fa',
    500: '#6781f6',
    950: '#000000',
  },
}
SCSS
$custom: #6781f6;
$custom-light: #9da5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6781f6",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 229.091,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.17611,
    "h": 271.2
  },
  "luminance": 0.25238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6781F6

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

Preview Lab → · Contrast checker → · Palette generator →

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