#6787CA#6787CA

#6787CA is a light, moderate blue. Relative luminance 0.245; OKLCH L 62.8% C 0.108 H 264.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6787CA
RGBrgb(103, 135, 202)
HSLhsl(221, 48%, 60%)
HSVhsv(221, 49%, 79%)
CMYKcmyk(49%, 33.2%, 0%, 20.8%)
CIE-LABlab(56.56, 7.24, -38.20)
CIE-LCHlch(56.56, 38.88, 280.73°)
OKLaboklab(62.78% -0.0111 -0.1075)
OKLCHoklch(62.78% 0.108 264.1)
XYZxyz(24.9147, 24.4741, 59.2768)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787CA #CAAA67
analogous
#67B9CA #6787CA #7867CA
triadic
#6787CA #CA6787 #87CA67
tetradic
#6787CA #CA67B9 #CAAA67 #67CA78
square
#6787CA #CA67B9 #CAAA67 #67CA78
split-complementary
#6787CA #CA7867 #B9CA67
monochromatic
#2F4C87 #3F65B5 #6787CA #94ABDA #C2CFEA

Accessibility & contrast

On white

3.56
#6787CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#6787CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787CA#FFFFFF#000000##000000
##6787CA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#6384C9
Tritanopia (blue-blind)
#3D959F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6787ca;
/* rgb */ color: rgb(103, 135, 202);
/* oklch */ color: oklch(62.8% 0.108 264.1);
Tailwind
colors: {
  custom: {
    50: '#98a9da',
    500: '#6787ca',
    950: '#000000',
  },
}
SCSS
$custom: #6787ca;
$custom-light: #98a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#6787ca",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 220.606,
    "s": 48.293,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62783,
    "c": 0.10804,
    "h": 264.1
  },
  "luminance": 0.24476
}

Semantic roles & 50–950 ramp

primary
#6787CA
secondary
#DACDB3
accent
#AC50D8
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6787CA

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

Preview Lab → · Contrast checker → · Palette generator →

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