#6787EE#6787EE

#6787EE is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.158 H 268.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6787EE
RGBrgb(103, 135, 238)
HSLhsl(226, 80%, 67%)
HSVhsv(226, 57%, 93%)
CMYKcmyk(56.7%, 43.3%, 0%, 6.7%)
CIE-LABlab(58.40, 18.55, -55.45)
CIE-LCHlch(58.40, 58.47, 288.50°)
OKLaboklab(64.8% -0.0035 -0.1578)
OKLCHoklch(64.8% 0.158 268.7)
XYZxyz(29.6850, 26.3823, 84.4003)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787EE #EECE67
analogous
#67CBEE #6787EE #8B67EE
triadic
#6787EE #EE6787 #87EE67
tetradic
#6787EE #EE67CB #EECE67 #67EE8B
square
#6787EE #EE67CB #EECE67 #67EE8B
split-complementary
#6787EE #EE8B67 #CBEE67
monochromatic
#163FC5 #305CE8 #6787EE #9EB2F4 #D5DEFA

Accessibility & contrast

On white

3.35
#6787EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#6787EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787EE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787EE#FFFFFF#000000##000000
##6787EE1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6787ee;
/* rgb */ color: rgb(103, 135, 238);
/* oklch */ color: oklch(64.8% 0.158 268.7);
Tailwind
colors: {
  custom: {
    50: '#9ca9f4',
    500: '#6787ee',
    950: '#000000',
  },
}
SCSS
$custom: #6787ee;
$custom-light: #9ca9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6787ee",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 225.778,
    "s": 79.882,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64801,
    "c": 0.15789,
    "h": 268.7
  },
  "luminance": 0.26385
}

Semantic roles & 50–950 ramp

primary
#6787EE
secondary
#EEE4C3
accent
#AA09DC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6787EE

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

Preview Lab → · Contrast checker → · Palette generator →

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