#6786EF#6786EF

#6786EF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.160 H 269.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6786EF
RGBrgb(103, 134, 239)
HSLhsl(226, 81%, 67%)
HSVhsv(226, 57%, 94%)
CMYKcmyk(56.9%, 43.9%, 0%, 6.3%)
CIE-LABlab(58.19, 19.48, -56.33)
CIE-LCHlch(58.19, 59.60, 289.07°)
OKLaboklab(64.66% -0.0023 -0.1604)
OKLCHoklch(64.66% 0.16 269.2)
XYZxyz(29.6934, 26.1634, 85.1299)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786EF #EFD067
analogous
#67CAEF #6786EF #8C67EF
triadic
#6786EF #EF6786 #86EF67
tetradic
#6786EF #EF67CA #EFD067 #67EF8C
square
#6786EF #EF67CA #EFD067 #67EF8C
split-complementary
#6786EF #EF8C67 #CAEF67
monochromatic
#153DC7 #305AE9 #6786EF #9EB2F5 #D6DEFB

Accessibility & contrast

On white

3.37
#6786EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#6786EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786EF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786EF#FFFFFF#000000##000000
##6786EF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6786ef;
/* rgb */ color: rgb(103, 134, 239);
/* oklch */ color: oklch(64.7% 0.160 269.2);
Tailwind
colors: {
  custom: {
    50: '#9ca8f5',
    500: '#6786ef',
    950: '#000000',
  },
}
SCSS
$custom: #6786ef;
$custom-light: #9ca8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6786ef",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 226.324,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64661,
    "c": 0.16047,
    "h": 269.2
  },
  "luminance": 0.26166
}

Semantic roles & 50–950 ramp

primary
#6786EF
secondary
#EEE5C3
accent
#AD08DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786EF

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

Preview Lab → · Contrast checker → · Palette generator →

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