#6786FC#6786FC

#6786FC is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.5% C 0.178 H 269.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6786FC
RGBrgb(103, 134, 252)
HSLhsl(228, 96%, 70%)
HSVhsv(228, 59%, 99%)
CMYKcmyk(59.1%, 46.8%, 0%, 1.2%)
CIE-LABlab(58.94, 23.68, -62.32)
CIE-LCHlch(58.94, 66.67, 290.81°)
OKLaboklab(65.47% -0.0005 -0.178)
OKLCHoklch(65.47% 0.178 269.8)
XYZxyz(31.6834, 26.9594, 95.6106)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786FC #FCDD67
analogous
#67D0FC #6786FC #9367FC
triadic
#6786FC #FC6786 #86FC67
tetradic
#6786FC #FC67D0 #FCDD67 #67FC93
square
#6786FC #FC67D0 #FCDD67 #67FC93
split-complementary
#6786FC #FC9367 #D0FC67
monochromatic
#0533E4 #2B56FB #6786FC #A3B6FD #DFE6FE

Accessibility & contrast

On white

3.29
#6786FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#6786FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786FC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786FC#FFFFFF#000000##000000
##6786FC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#3388FA
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6786fc;
/* rgb */ color: rgb(103, 134, 252);
/* oklch */ color: oklch(65.5% 0.178 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ea8fe',
    500: '#6786fc',
    950: '#000000',
  },
}
SCSS
$custom: #6786fc;
$custom-light: #9ea8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6786fc",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 227.517,
    "s": 96.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6547,
    "c": 0.17804,
    "h": 269.8
  },
  "luminance": 0.26962
}

Semantic roles & 50–950 ramp

primary
#6786FC
secondary
#F5ECCA
accent
#B600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6786FC

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

Preview Lab → · Contrast checker → · Palette generator →

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