#6978DC#6978DC

#6978DC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.151 H 274.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6978DC
RGBrgb(105, 120, 220)
HSLhsl(232, 62%, 64%)
HSVhsv(232, 52%, 86%)
CMYKcmyk(52.3%, 45.5%, 0%, 13.7%)
CIE-LABlab(53.60, 22.29, -53.04)
CIE-LCHlch(53.60, 57.53, 292.79°)
OKLaboklab(60.84% 0.0121 -0.1509)
OKLCHoklch(60.84% 0.151 274.6)
XYZxyz(25.4563, 21.6018, 70.5244)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978DC #DCCD69
analogous
#69B1DC #6978DC #9369DC
triadic
#6978DC #DC6978 #78DC69
tetradic
#6978DC #DC69B1 #DCCD69 #69DC93
square
#6978DC #DC69B1 #DCCD69 #69DC93
split-complementary
#6978DC #DC9369 #B1DC69
monochromatic
#2637A4 #374BD0 #6978DC #9BA5E8 #CCD1F3

Accessibility & contrast

On white

3.95
#6978DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6978DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978DC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978DC#FFFFFF#000000##000000
##6978DC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#3F7CDA
Tritanopia (blue-blind)
#358E9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6978dc;
/* rgb */ color: rgb(105, 120, 220);
/* oklch */ color: oklch(60.8% 0.151 274.6);
Tailwind
colors: {
  custom: {
    50: '#9b9ee7',
    500: '#6978dc',
    950: '#000000',
  },
}
SCSS
$custom: #6978dc;
$custom-light: #9b9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6978dc",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 232.174,
    "s": 62.162,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.15136,
    "h": 274.6
  },
  "luminance": 0.21604
}

Semantic roles & 50–950 ramp

primary
#6978DC
secondary
#E5DFBC
accent
#B31CCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6978DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6978DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva