#6787F0#6787F0

#6787F0 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.161 H 268.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6787F0
RGBrgb(103, 135, 240)
HSLhsl(226, 82%, 67%)
HSVhsv(226, 57%, 94%)
CMYKcmyk(57.1%, 43.8%, 0%, 5.9%)
CIE-LABlab(58.51, 19.20, -56.38)
CIE-LCHlch(58.51, 59.56, 288.81°)
OKLaboklab(64.92% -0.0032 -0.1606)
OKLCHoklch(64.92% 0.161 268.9)
XYZxyz(29.9804, 26.5004, 85.9564)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787F0 #F0D067
analogous
#67CCF0 #6787F0 #8B67F0
triadic
#6787F0 #F06787 #87F067
tetradic
#6787F0 #F067CC #F0D067 #67F08B
square
#6787F0 #F067CC #F0D067 #67F08B
split-complementary
#6787F0 #F08B67 #CCF067
monochromatic
#143EC9 #2F5BEB #6787F0 #9FB3F5 #D6DFFB

Accessibility & contrast

On white

3.33
#6787F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#6787F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787F0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787F0#FFFFFF#000000##000000
##6787F01.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F4
Deuteranopia (green-blind)
#4587EE
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6787f0;
/* rgb */ color: rgb(103, 135, 240);
/* oklch */ color: oklch(64.9% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#9ca9f5',
    500: '#6787f0',
    950: '#000000',
  },
}
SCSS
$custom: #6787f0;
$custom-light: #9ca9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6787f0",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 225.985,
    "s": 82.036,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.16061,
    "h": 268.9
  },
  "luminance": 0.26503
}

Semantic roles & 50–950 ramp

primary
#6787F0
secondary
#EFE5C4
accent
#AC07DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6787F0

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

Preview Lab → · Contrast checker → · Palette generator →

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