#6781F0#6781F0

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

Color values

HEX#6781F0
RGBrgb(103, 129, 240)
HSLhsl(229, 82%, 67%)
HSVhsv(229, 57%, 94%)
CMYKcmyk(57.1%, 46.3%, 0%, 5.9%)
CIE-LABlab(56.95, 22.80, -58.87)
CIE-LCHlch(56.95, 63.13, 291.17°)
OKLaboklab(63.73% 0.0031 -0.168)
OKLCHoklch(63.73% 0.168 271)
XYZxyz(29.1667, 24.8731, 85.6852)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781F0 #F0D667
analogous
#67C6F0 #6781F0 #9167F0
triadic
#6781F0 #F06781 #81F067
tetradic
#6781F0 #F067C6 #F0D667 #67F091
square
#6781F0 #F067C6 #F0D667 #67F091
split-complementary
#6781F0 #F09167 #C6F067
monochromatic
#1436C9 #2F53EB #6781F0 #9FAFF5 #D6DDFB

Accessibility & contrast

On white

3.51
#6781F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#6781F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781F0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781F0#FFFFFF#000000##000000
##6781F01.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8FF4
Deuteranopia (green-blind)
#3883EE
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6781f0;
/* rgb */ color: rgb(103, 129, 240);
/* oklch */ color: oklch(63.7% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#9ca5f5',
    500: '#6781f0',
    950: '#000000',
  },
}
SCSS
$custom: #6781f0;
$custom-light: #9ca5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6781f0",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 240
  },
  "hsl": {
    "h": 228.613,
    "s": 82.036,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63732,
    "c": 0.16799,
    "h": 271
  },
  "luminance": 0.24875
}

Semantic roles & 50–950 ramp

primary
#6781F0
secondary
#EFE7C4
accent
#B607DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6781F0

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

Preview Lab → · Contrast checker → · Palette generator →

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