#6978DF#6978DF

#6978DF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.156 H 274.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6978DF
RGBrgb(105, 120, 223)
HSLhsl(232, 65%, 64%)
HSVhsv(232, 53%, 87%)
CMYKcmyk(52.9%, 46.2%, 0%, 12.5%)
CIE-LABlab(53.77, 23.23, -54.45)
CIE-LCHlch(53.77, 59.20, 293.10°)
OKLaboklab(61.03% 0.0125 -0.155)
OKLCHoklch(61.03% 0.156 274.6)
XYZxyz(25.8572, 21.7622, 72.6357)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978DF #DFD069
analogous
#69B3DF #6978DF #9569DF
triadic
#6978DF #DF6978 #78DF69
tetradic
#6978DF #DF69B3 #DFD069 #69DF95
square
#6978DF #DF69B3 #DFD069 #69DF95
split-complementary
#6978DF #DF9569 #B3DF69
monochromatic
#2435A9 #374BD4 #6978DF #9BA5EA #CED3F5

Accessibility & contrast

On white

3.92
#6978DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6978DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978DF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978DF#FFFFFF#000000##000000
##6978DF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A86E3
Deuteranopia (green-blind)
#3C7CDD
Tritanopia (blue-blind)
#318FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6978df;
/* rgb */ color: rgb(105, 120, 223);
/* oklch */ color: oklch(61.0% 0.156 274.6);
Tailwind
colors: {
  custom: {
    50: '#9c9ee9',
    500: '#6978df',
    950: '#000000',
  },
}
SCSS
$custom: #6978df;
$custom-light: #9c9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6978df",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 232.373,
    "s": 64.835,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.15553,
    "h": 274.6
  },
  "luminance": 0.21764
}

Semantic roles & 50–950 ramp

primary
#6978DF
secondary
#E6E1BD
accent
#B619CD
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6978DF

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

Preview Lab → · Contrast checker → · Palette generator →

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