#6781E8#6781E8

#6781E8 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.157 H 270.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6781E8
RGBrgb(103, 129, 232)
HSLhsl(228, 74%, 66%)
HSVhsv(228, 56%, 91%)
CMYKcmyk(55.6%, 44.4%, 0%, 9%)
CIE-LABlab(56.49, 20.24, -55.15)
CIE-LCHlch(56.49, 58.75, 290.15°)
OKLaboklab(63.24% 0.0019 -0.157)
OKLCHoklch(63.24% 0.157 270.7)
XYZxyz(28.0045, 24.4082, 79.5638)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781E8 #E8CE67
analogous
#67C1E8 #6781E8 #8D67E8
triadic
#6781E8 #E86781 #81E867
tetradic
#6781E8 #E867C1 #E8CE67 #67E88D
square
#6781E8 #E867C1 #E8CE67 #67E88D
split-complementary
#6781E8 #E88D67 #C1E867
monochromatic
#1C3CB9 #3255E0 #6781E8 #9CADF0 #D1D9F8

Accessibility & contrast

On white

3.57
#6781E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#6781E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781E8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781E8#FFFFFF#000000##000000
##6781E81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEC
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#1898A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6781e8;
/* rgb */ color: rgb(103, 129, 232);
/* oklch */ color: oklch(63.2% 0.157 270.7);
Tailwind
colors: {
  custom: {
    50: '#9ba5f0',
    500: '#6781e8',
    950: '#000000',
  },
}
SCSS
$custom: #6781e8;
$custom-light: #9ba5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6781e8",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 227.907,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.15705,
    "h": 270.7
  },
  "luminance": 0.2441
}

Semantic roles & 50–950 ramp

primary
#6781E8
secondary
#EBE2C0
accent
#AE10D6
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6781E8

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

Preview Lab → · Contrast checker → · Palette generator →

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