#6786FF#6786FF

#6786FF is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.7% C 0.182 H 270.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6786FF
RGBrgb(103, 134, 255)
HSLhsl(228, 100%, 70%)
HSVhsv(228, 60%, 100%)
CMYKcmyk(59.6%, 47.5%, 0%, 0%)
CIE-LABlab(59.11, 24.66, -63.68)
CIE-LCHlch(59.11, 68.29, 291.17°)
OKLaboklab(65.66% -0.0001 -0.182)
OKLCHoklch(65.66% 0.182 270)
XYZxyz(32.1626, 27.1511, 98.1342)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786FF #FFE067
analogous
#67D2FF #6786FF #9467FF
triadic
#6786FF #FF6786 #86FF67
tetradic
#6786FF #FF67D2 #FFE067 #67FF94
square
#6786FF #FF67D2 #FFE067 #67FF94
split-complementary
#6786FF #FF9467 #D2FF67
monochromatic
#0030EC #2A55FF #6786FF #A4B7FF #E0E7FF

Accessibility & contrast

On white

3.27
#6786FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#6786FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786FF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786FF#FFFFFF#000000##000000
##6786FF1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#2E88FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6786ff;
/* rgb */ color: rgb(103, 134, 255);
/* oklch */ color: oklch(65.7% 0.182 270.0);
Tailwind
colors: {
  custom: {
    50: '#9ea8ff',
    500: '#6786ff',
    950: '#000000',
  },
}
SCSS
$custom: #6786ff;
$custom-light: #9ea8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6786ff",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 227.763,
    "s": 100,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65662,
    "c": 0.18205,
    "h": 270
  },
  "luminance": 0.27154
}

Semantic roles & 50–950 ramp

primary
#6786FF
secondary
#F6EDCC
accent
#B700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6786FF

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

Preview Lab → · Contrast checker → · Palette generator →

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