#6781FA#6781FA

#6781FA is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.4% C 0.181 H 271.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6781FA
RGBrgb(103, 129, 250)
HSLhsl(229, 94%, 69%)
HSVhsv(229, 59%, 98%)
CMYKcmyk(58.8%, 48.4%, 0%, 2%)
CIE-LABlab(57.54, 26.04, -63.45)
CIE-LCHlch(57.54, 68.59, 292.31°)
OKLaboklab(64.37% 0.0042 -0.1814)
OKLCHoklch(64.37% 0.181 271.3)
XYZxyz(30.6934, 25.4838, 93.7253)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781FA #FAE067
analogous
#67CBFA #6781FA #9767FA
triadic
#6781FA #FA6781 #81FA67
tetradic
#6781FA #FA67CB #FAE067 #67FA97
square
#6781FA #FA67CB #FAE067 #67FA97
split-complementary
#6781FA #FA9767 #CBFA67
monochromatic
#072EDF #2C50F8 #6781FA #A2B2FC #DEE3FE

Accessibility & contrast

On white

3.44
#6781FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#6781FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781FA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781FA#FFFFFF#000000##000000
##6781FA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#2884F7
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6781fa;
/* rgb */ color: rgb(103, 129, 250);
/* oklch */ color: oklch(64.4% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#9ea5fd',
    500: '#6781fa',
    950: '#000000',
  },
}
SCSS
$custom: #6781fa;
$custom-light: #9ea5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6781fa",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 229.388,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64373,
    "c": 0.18148,
    "h": 271.3
  },
  "luminance": 0.25486
}

Semantic roles & 50–950 ramp

primary
#6781FA
secondary
#F4ECC9
accent
#BD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #6781FA

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

Preview Lab → · Contrast checker → · Palette generator →

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