#6787F3#6787F3

#6787F3 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.165 H 269.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6787F3
RGBrgb(103, 135, 243)
HSLhsl(226, 85%, 68%)
HSVhsv(226, 58%, 95%)
CMYKcmyk(57.6%, 44.4%, 0%, 4.7%)
CIE-LABlab(58.68, 20.17, -57.77)
CIE-LCHlch(58.68, 61.19, 289.24°)
OKLaboklab(65.11% -0.0027 -0.1647)
OKLCHoklch(65.11% 0.165 269.1)
XYZxyz(30.4297, 26.6802, 88.3229)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787F3 #F3D367
analogous
#67CDF3 #6787F3 #8D67F3
triadic
#6787F3 #F36787 #87F367
tetradic
#6787F3 #F367CD #F3D367 #67F38D
square
#6787F3 #F367CD #F3D367 #67F38D
split-complementary
#6787F3 #F38D67 #CDF367
monochromatic
#103CCF #2E5AEF #6787F3 #A0B4F7 #D8E1FC

Accessibility & contrast

On white

3.31
#6787F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#6787F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787F3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787F3#FFFFFF#000000##000000
##6787F31.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F7
Deuteranopia (green-blind)
#4287F1
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6787f3;
/* rgb */ color: rgb(103, 135, 243);
/* oklch */ color: oklch(65.1% 0.165 269.1);
Tailwind
colors: {
  custom: {
    50: '#9da9f8',
    500: '#6787f3',
    950: '#000000',
  },
}
SCSS
$custom: #6787f3;
$custom-light: #9da9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6787f3",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 226.286,
    "s": 85.366,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65105,
    "c": 0.16468,
    "h": 269.1
  },
  "luminance": 0.26683
}

Semantic roles & 50–950 ramp

primary
#6787F3
secondary
#F0E7C5
accent
#AF04E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6787F3

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

Preview Lab → · Contrast checker → · Palette generator →

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