#6787D5#6787D5

#6787D5 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.4% C 0.123 H 266.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6787D5
RGBrgb(103, 135, 213)
HSLhsl(223, 57%, 62%)
HSVhsv(223, 52%, 84%)
CMYKcmyk(51.6%, 36.6%, 0%, 16.5%)
CIE-LABlab(57.09, 10.63, -43.57)
CIE-LCHlch(57.09, 44.85, 283.71°)
OKLaboklab(63.37% -0.0084 -0.1231)
OKLCHoklch(63.37% 0.123 266.1)
XYZxyz(26.2638, 25.0138, 66.3821)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787D5 #D5B567
analogous
#67BED5 #6787D5 #7E67D5
triadic
#6787D5 #D56787 #87D567
tetradic
#6787D5 #D567BE #D5B567 #67D57E
square
#6787D5 #D567BE #D5B567 #67D57E
split-complementary
#6787D5 #D57E67 #BED567
monochromatic
#2A4A98 #3761C8 #6787D5 #97ADE2 #C7D3EF

Accessibility & contrast

On white

3.50
#6787D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#6787D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787D5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787D5#FFFFFF#000000##000000
##6787D51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED8
Deuteranopia (green-blind)
#5C84D3
Tritanopia (blue-blind)
#3398A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6787d5;
/* rgb */ color: rgb(103, 135, 213);
/* oklch */ color: oklch(63.4% 0.123 266.1);
Tailwind
colors: {
  custom: {
    50: '#99a9e2',
    500: '#6787d5',
    950: '#000000',
  },
}
SCSS
$custom: #6787d5;
$custom-light: #99a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6787d5",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 222.545,
    "s": 56.701,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.12338,
    "h": 266.1
  },
  "luminance": 0.25016
}

Semantic roles & 50–950 ramp

primary
#6787D5
secondary
#E0D4B8
accent
#9521C4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6787D5

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

Preview Lab → · Contrast checker → · Palette generator →

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