#6781EC#6781EC

#6781EC is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.163 H 270.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6781EC
RGBrgb(103, 129, 236)
HSLhsl(228, 78%, 66%)
HSVhsv(228, 56%, 93%)
CMYKcmyk(56.4%, 45.3%, 0%, 7.5%)
CIE-LABlab(56.72, 21.52, -57.02)
CIE-LCHlch(56.72, 60.94, 290.68°)
OKLaboklab(63.48% 0.0025 -0.1625)
OKLCHoklch(63.48% 0.163 270.9)
XYZxyz(28.5791, 24.6380, 82.5902)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781EC #ECD267
analogous
#67C4EC #6781EC #9067EC
triadic
#6781EC #EC6781 #81EC67
tetradic
#6781EC #EC67C4 #ECD267 #67EC90
square
#6781EC #EC67C4 #ECD267 #67EC90
split-complementary
#6781EC #EC9067 #C4EC67
monochromatic
#1839C1 #3154E5 #6781EC #9DAEF3 #D4DBFA

Accessibility & contrast

On white

3.54
#6781EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#6781EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781EC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781EC#FFFFFF#000000##000000
##6781EC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#0B99AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6781ec;
/* rgb */ color: rgb(103, 129, 236);
/* oklch */ color: oklch(63.5% 0.163 270.9);
Tailwind
colors: {
  custom: {
    50: '#9ca5f3',
    500: '#6781ec',
    950: '#000000',
  },
}
SCSS
$custom: #6781ec;
$custom-light: #9ca5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6781ec",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 228.271,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.16253,
    "h": 270.9
  },
  "luminance": 0.2464
}

Semantic roles & 50–950 ramp

primary
#6781EC
secondary
#EDE5C2
accent
#B20BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6781EC

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

Preview Lab → · Contrast checker → · Palette generator →

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