#6978AC#6978AC

#6978AC is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.2% C 0.082 H 271.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6978AC
RGBrgb(105, 120, 172)
HSLhsl(227, 29%, 54%)
HSVhsv(227, 39%, 67%)
CMYKcmyk(39%, 30.2%, 0%, 32.5%)
CIE-LABlab(51.17, 7.81, -29.45)
CIE-LCHlch(51.17, 30.47, 284.85°)
OKLaboklab(58.18% 0.0019 -0.0822)
OKLCHoklch(58.18% 0.082 271.3)
XYZxyz(19.9863, 19.4139, 41.7159)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978AC #AC9D69
analogous
#699AAC #6978AC #7C69AC
triadic
#6978AC #AC6978 #78AC69
tetradic
#6978AC #AC699A #AC9D69 #69AC7C
square
#6978AC #AC699A #AC9D69 #69AC7C
split-complementary
#6978AC #AC7C69 #9AAC69
monochromatic
#374164 #4D5B8B #6978AC #909BC2 #B8BFD8

Accessibility & contrast

On white

4.30
#6978AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6978AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978AC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978AC#FFFFFF#000000##000000
##6978AC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#54828A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6978ac;
/* rgb */ color: rgb(105, 120, 172);
/* oklch */ color: oklch(58.2% 0.082 271.3);
Tailwind
colors: {
  custom: {
    50: '#969ec5',
    500: '#6978ac',
    950: '#000000',
  },
}
SCSS
$custom: #6978ac;
$custom-light: #969ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#6978ac",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 226.567,
    "s": 28.755,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.08218,
    "h": 271.3
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#6978AC
secondary
#C7C0AA
accent
#AF63C5
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #6978AC

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

Preview Lab → · Contrast checker → · Palette generator →

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