#6978D2#6978D2

#6978D2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.137 H 274.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6978D2
RGBrgb(105, 120, 210)
HSLhsl(231, 54%, 62%)
HSVhsv(231, 50%, 82%)
CMYKcmyk(50%, 42.9%, 0%, 17.6%)
CIE-LABlab(53.05, 19.17, -48.28)
CIE-LCHlch(53.05, 51.94, 291.66°)
OKLaboklab(60.24% 0.0106 -0.1369)
OKLCHoklch(60.24% 0.137 274.4)
XYZxyz(24.1713, 21.0879, 63.7570)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978D2 #D2C369
analogous
#69ACD2 #6978D2 #8F69D2
triadic
#6978D2 #D26978 #78D269
tetradic
#6978D2 #D269AC #D2C369 #69D28F
square
#6978D2 #D269AC #D2C369 #69D28F
split-complementary
#6978D2 #D28F69 #ACD269
monochromatic
#2C3B94 #3B4EC3 #6978D2 #98A2E0 #C7CDEE

Accessibility & contrast

On white

4.02
#6978D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6978D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978D2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978D2#FFFFFF#000000##000000
##6978D21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D5
Deuteranopia (green-blind)
#497BD0
Tritanopia (blue-blind)
#3E8B9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6978d2;
/* rgb */ color: rgb(105, 120, 210);
/* oklch */ color: oklch(60.2% 0.137 274.4);
Tailwind
colors: {
  custom: {
    50: '#9a9ee0',
    500: '#6978d2',
    950: '#000000',
  },
}
SCSS
$custom: #6978d2;
$custom-light: #9a9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#6978d2",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 231.429,
    "s": 53.846,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.13732,
    "h": 274.4
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#6978D2
secondary
#DFD9B8
accent
#AB24C1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6978D2

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

Preview Lab → · Contrast checker → · Palette generator →

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