#6781EA#6781EA

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

Color values

HEX#6781EA
RGBrgb(103, 129, 234)
HSLhsl(228, 76%, 66%)
HSVhsv(228, 56%, 92%)
CMYKcmyk(56%, 44.9%, 0%, 8.2%)
CIE-LABlab(56.61, 20.88, -56.09)
CIE-LCHlch(56.61, 59.84, 290.42°)
OKLaboklab(63.36% 0.0022 -0.1598)
OKLCHoklch(63.36% 0.16 270.8)
XYZxyz(28.2902, 24.5225, 81.0685)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781EA #EAD067
analogous
#67C2EA #6781EA #8E67EA
triadic
#6781EA #EA6781 #81EA67
tetradic
#6781EA #EA67C2 #EAD067 #67EA8E
square
#6781EA #EA67C2 #EAD067 #67EA8E
split-complementary
#6781EA #EA8E67 #C2EA67
monochromatic
#1A3ABD #3154E3 #6781EA #9DAEF1 #D3DAF9

Accessibility & contrast

On white

3.56
#6781EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#6781EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781EA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781EA#FFFFFF#000000##000000
##6781EA1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#1398AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6781ea;
/* rgb */ color: rgb(103, 129, 234);
/* oklch */ color: oklch(63.4% 0.160 270.8);
Tailwind
colors: {
  custom: {
    50: '#9ca5f1',
    500: '#6781ea',
    950: '#000000',
  },
}
SCSS
$custom: #6781ea;
$custom-light: #9ca5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6781ea",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 228.092,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.1598,
    "h": 270.8
  },
  "luminance": 0.24525
}

Semantic roles & 50–950 ramp

primary
#6781EA
secondary
#ECE3C1
accent
#B00ED8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6781EA

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

Preview Lab → · Contrast checker → · Palette generator →

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