#6781F2#6781F2

#6781F2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.9% C 0.171 H 271.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6781F2
RGBrgb(103, 129, 242)
HSLhsl(229, 84%, 68%)
HSVhsv(229, 57%, 95%)
CMYKcmyk(57.4%, 46.7%, 0%, 5.1%)
CIE-LABlab(57.07, 23.45, -59.79)
CIE-LCHlch(57.07, 64.23, 291.41°)
OKLaboklab(63.86% 0.0033 -0.1707)
OKLCHoklch(63.86% 0.171 271.1)
XYZxyz(29.4655, 24.9926, 87.2585)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6781F2 #F2D867
analogous
#67C6F2 #6781F2 #9267F2
triadic
#6781F2 #F26781 #81F267
tetradic
#6781F2 #F267C6 #F2D867 #67F292
square
#6781F2 #F267C6 #F2D867 #67F292
split-complementary
#6781F2 #F29267 #C6F267
monochromatic
#1235CD #2F52ED #6781F2 #9FB0F7 #D8DEFC

Accessibility & contrast

On white

3.50
#6781F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#6781F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6781F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6781F2#FFFFFF#000000##000000
##6781F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF6
Deuteranopia (green-blind)
#3683F0
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6781f2;
/* rgb */ color: rgb(103, 129, 242);
/* oklch */ color: oklch(63.9% 0.171 271.1);
Tailwind
colors: {
  custom: {
    50: '#9da5f7',
    500: '#6781f2',
    950: '#000000',
  },
}
SCSS
$custom: #6781f2;
$custom-light: #9da5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6781f2",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 228.777,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.1707,
    "h": 271.1
  },
  "luminance": 0.24995
}

Semantic roles & 50–950 ramp

primary
#6781F2
secondary
#F0E8C5
accent
#B805E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6781F2

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

Preview Lab → · Contrast checker → · Palette generator →

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