#6787EA#6787EA

#6787EA is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.152 H 268.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6787EA
RGBrgb(103, 135, 234)
HSLhsl(225, 76%, 66%)
HSVhsv(225, 56%, 92%)
CMYKcmyk(56%, 42.3%, 0%, 8.2%)
CIE-LABlab(58.18, 17.27, -53.58)
CIE-LCHlch(58.18, 56.29, 287.87°)
OKLaboklab(64.56% -0.0042 -0.1524)
OKLCHoklch(64.56% 0.152 268.4)
XYZxyz(29.1038, 26.1498, 81.3397)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787EA #EACA67
analogous
#67C8EA #6787EA #8867EA
triadic
#6787EA #EA6787 #87EA67
tetradic
#6787EA #EA67C8 #EACA67 #67EA88
square
#6787EA #EA67C8 #EACA67 #67EA88
split-complementary
#6787EA #EA8867 #C8EA67
monochromatic
#1A42BD #315DE3 #6787EA #9DB1F1 #D3DCF9

Accessibility & contrast

On white

3.37
#6787EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#6787EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787EA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787EA#FFFFFF#000000##000000
##6787EA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#0F9DAD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6787ea;
/* rgb */ color: rgb(103, 135, 234);
/* oklch */ color: oklch(64.6% 0.152 268.4);
Tailwind
colors: {
  custom: {
    50: '#9ba9f1',
    500: '#6787ea',
    950: '#000000',
  },
}
SCSS
$custom: #6787ea;
$custom-light: #9ba9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6787ea",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 225.344,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64562,
    "c": 0.15242,
    "h": 268.4
  },
  "luminance": 0.26152
}

Semantic roles & 50–950 ramp

primary
#6787EA
secondary
#ECE1C1
accent
#A60ED8
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6787EA

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

Preview Lab → · Contrast checker → · Palette generator →

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