#6978EC#6978EC

#6978EC is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.173 H 274.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6978EC
RGBrgb(105, 120, 236)
HSLhsl(233, 78%, 67%)
HSVhsv(233, 56%, 93%)
CMYKcmyk(55.5%, 49.2%, 0%, 7.5%)
CIE-LABlab(54.54, 27.34, -60.50)
CIE-LCHlch(54.54, 66.39, 294.32°)
OKLaboklab(61.86% 0.014 -0.1728)
OKLCHoklch(61.86% 0.173 274.6)
XYZxyz(27.6776, 22.4904, 82.2232)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978EC #ECDD69
analogous
#69BAEC #6978EC #9C69EC
triadic
#6978EC #EC6978 #78EC69
tetradic
#6978EC #EC69BA #ECDD69 #69EC9C
square
#6978EC #EC69BA #ECDD69 #69EC9C
split-complementary
#6978EC #EC9C69 #BAEC69
monochromatic
#192CC2 #3347E5 #6978EC #9FA9F3 #D6DAFA

Accessibility & contrast

On white

3.82
#6978EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6978EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978EC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978EC#FFFFFF#000000##000000
##6978EC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#297DEA
Tritanopia (blue-blind)
#1E92A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6978ec;
/* rgb */ color: rgb(105, 120, 236);
/* oklch */ color: oklch(61.9% 0.173 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef3',
    500: '#6978ec',
    950: '#000000',
  },
}
SCSS
$custom: #6978ec;
$custom-light: #9d9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6978ec",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 233.13,
    "s": 77.515,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61861,
    "c": 0.17337,
    "h": 274.6
  },
  "luminance": 0.22492
}

Semantic roles & 50–950 ramp

primary
#6978EC
secondary
#EDE9C3
accent
#C20CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6978EC

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

Preview Lab → · Contrast checker → · Palette generator →

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