#6787FE#6787FE

#6787FE is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.8% C 0.179 H 269.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6787FE
RGBrgb(103, 135, 254)
HSLhsl(227, 99%, 70%)
HSVhsv(227, 59%, 100%)
CMYKcmyk(59.4%, 46.9%, 0%, 0.4%)
CIE-LABlab(59.31, 23.73, -62.82)
CIE-LCHlch(59.31, 67.15, 290.70°)
OKLaboklab(65.79% -0.0012 -0.1795)
OKLCHoklch(65.79% 0.18 269.6)
XYZxyz(32.1409, 27.3646, 97.3349)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787FE #FEDE67
analogous
#67D2FE #6787FE #9367FE
triadic
#6787FE #FE6787 #87FE67
tetradic
#6787FE #FE67D2 #FEDE67 #67FE93
square
#6787FE #FE67D2 #FEDE67 #67FE93
split-complementary
#6787FE #FE9367 #D2FE67
monochromatic
#0233E9 #2A57FE #6787FE #A4B7FE #E1E7FF

Accessibility & contrast

On white

3.24
#6787FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#6787FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787FE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787FE#FFFFFF#000000##000000
##6787FE1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#3288FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6787fe;
/* rgb */ color: rgb(103, 135, 254);
/* oklch */ color: oklch(65.8% 0.179 269.6);
Tailwind
colors: {
  custom: {
    50: '#9ea9ff',
    500: '#6787fe',
    950: '#000000',
  },
}
SCSS
$custom: #6787fe;
$custom-light: #9ea9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6787fe",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 227.285,
    "s": 98.693,
    "l": 70
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.1795,
    "h": 269.6
  },
  "luminance": 0.27367
}

Semantic roles & 50–950 ramp

primary
#6787FE
secondary
#F6EDCB
accent
#B500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6787FE

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

Preview Lab → · Contrast checker → · Palette generator →

#6787FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva