#6787FB#6787FB

#6787FB is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.6% C 0.175 H 269.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6787FB
RGBrgb(103, 135, 251)
HSLhsl(227, 95%, 69%)
HSVhsv(227, 59%, 98%)
CMYKcmyk(59%, 46.2%, 0%, 1.6%)
CIE-LABlab(59.13, 22.76, -61.45)
CIE-LCHlch(59.13, 65.53, 290.32°)
OKLaboklab(65.6% -0.0016 -0.1755)
OKLCHoklch(65.6% 0.175 269.5)
XYZxyz(31.6642, 27.1740, 94.8246)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787FB #FBDB67
analogous
#67D1FB #6787FB #9167FB
triadic
#6787FB #FB6787 #87FB67
tetradic
#6787FB #FB67D1 #FBDB67 #67FB91
square
#6787FB #FB67D1 #FBDB67 #67FB91
split-complementary
#6787FB #FB9167 #D1FB67
monochromatic
#0635E2 #2B58F9 #6787FB #A3B6FD #DEE5FE

Accessibility & contrast

On white

3.26
#6787FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#6787FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787FB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787FB#FFFFFF#000000##000000
##6787FB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#3788F9
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6787fb;
/* rgb */ color: rgb(103, 135, 251);
/* oklch */ color: oklch(65.6% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#9ea9fd',
    500: '#6787fb',
    950: '#000000',
  },
}
SCSS
$custom: #6787fb;
$custom-light: #9ea9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6787fb",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 227.027,
    "s": 94.872,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65602,
    "c": 0.17548,
    "h": 269.5
  },
  "luminance": 0.27177
}

Semantic roles & 50–950 ramp

primary
#6787FB
secondary
#F4EBCA
accent
#B400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #6787FB

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

Preview Lab → · Contrast checker → · Palette generator →

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