#6781EB#6781EB

#6781EB is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.4% C 0.161 H 270.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6781EB
RGBrgb(103, 129, 235)
HSLhsl(228, 77%, 66%)
HSVhsv(228, 56%, 92%)
CMYKcmyk(56.2%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.66, 21.20, -56.55)
CIE-LCHlch(56.66, 60.39, 290.55°)
OKLaboklab(63.42% 0.0024 -0.1611)
OKLCHoklch(63.42% 0.161 270.8)
XYZxyz(28.4342, 24.5801, 81.8272)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781EB #EBD167
analogous
#67C3EB #6781EB #8F67EB
triadic
#6781EB #EB6781 #81EB67
tetradic
#6781EB #EB67C3 #EBD167 #67EB8F
square
#6781EB #EB67C3 #EBD167 #67EB8F
split-complementary
#6781EB #EB8F67 #C3EB67
monochromatic
#193ABF #3154E4 #6781EB #9DAEF2 #D3DBF9

Accessibility & contrast

On white

3.55
#6781EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#6781EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781EB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781EB#FFFFFF#000000##000000
##6781EB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#3F82E9
Tritanopia (blue-blind)
#0F99AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6781eb;
/* rgb */ color: rgb(103, 129, 235);
/* oklch */ color: oklch(63.4% 0.161 270.8);
Tailwind
colors: {
  custom: {
    50: '#9ca5f2',
    500: '#6781eb',
    950: '#000000',
  },
}
SCSS
$custom: #6781eb;
$custom-light: #9ca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6781eb",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 228.182,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6342,
    "c": 0.16117,
    "h": 270.8
  },
  "luminance": 0.24582
}

Semantic roles & 50–950 ramp

primary
#6781EB
secondary
#ECE4C1
accent
#B10DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6781EB

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

Preview Lab → · Contrast checker → · Palette generator →

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