#6781EF#6781EF

#6781EF is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.7% C 0.167 H 271.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6781EF
RGBrgb(103, 129, 239)
HSLhsl(229, 81%, 67%)
HSVhsv(229, 57%, 94%)
CMYKcmyk(56.9%, 46%, 0%, 6.3%)
CIE-LABlab(56.89, 22.48, -58.41)
CIE-LCHlch(56.89, 62.58, 291.05°)
OKLaboklab(63.67% 0.0029 -0.1666)
OKLCHoklch(63.67% 0.167 271)
XYZxyz(29.0186, 24.8139, 84.9050)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781EF #EFD567
analogous
#67C5EF #6781EF #9167EF
triadic
#6781EF #EF6781 #81EF67
tetradic
#6781EF #EF67C5 #EFD567 #67EF91
square
#6781EF #EF67C5 #EFD567 #67EF91
split-complementary
#6781EF #EF9167 #C5EF67
monochromatic
#1537C7 #3053E9 #6781EF #9EAFF5 #D6DDFB

Accessibility & contrast

On white

3.52
#6781EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#6781EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781EF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781EF#FFFFFF#000000##000000
##6781EF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#3A83ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6781ef;
/* rgb */ color: rgb(103, 129, 239);
/* oklch */ color: oklch(63.7% 0.167 271.0);
Tailwind
colors: {
  custom: {
    50: '#9ca5f5',
    500: '#6781ef',
    950: '#000000',
  },
}
SCSS
$custom: #6781ef;
$custom-light: #9ca5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6781ef",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 228.529,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6367,
    "c": 0.16663,
    "h": 271
  },
  "luminance": 0.24816
}

Semantic roles & 50–950 ramp

primary
#6781EF
secondary
#EEE6C3
accent
#B508DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6781EF

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

Preview Lab → · Contrast checker → · Palette generator →

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