#6978EB#6978EB

#6978EB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.172 H 274.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6978EB
RGBrgb(105, 120, 235)
HSLhsl(233, 76%, 67%)
HSVhsv(233, 55%, 92%)
CMYKcmyk(55.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(54.48, 27.03, -60.04)
CIE-LCHlch(54.48, 65.84, 294.23°)
OKLaboklab(61.8% 0.0139 -0.1714)
OKLCHoklch(61.8% 0.172 274.6)
XYZxyz(27.5327, 22.4324, 81.4602)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978EB #EBDC69
analogous
#69B9EB #6978EB #9B69EB
triadic
#6978EB #EB6978 #78EB69
tetradic
#6978EB #EB69B9 #EBDC69 #69EB9B
square
#6978EB #EB69B9 #EBDC69 #69EB9B
split-complementary
#6978EB #EB9B69 #B9EB69
monochromatic
#1A2DC0 #3347E4 #6978EB #9FA9F2 #D5D9F9

Accessibility & contrast

On white

3.83
#6978EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6978EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978EB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978EB#FFFFFF#000000##000000
##6978EB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#2092A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6978eb;
/* rgb */ color: rgb(105, 120, 235);
/* oklch */ color: oklch(61.8% 0.172 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef2',
    500: '#6978eb',
    950: '#000000',
  },
}
SCSS
$custom: #6978eb;
$custom-light: #9d9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6978eb",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 233.077,
    "s": 76.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.172,
    "h": 274.6
  },
  "luminance": 0.22434
}

Semantic roles & 50–950 ramp

primary
#6978EB
secondary
#EDE8C3
accent
#C10DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6978EB

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

Preview Lab → · Contrast checker → · Palette generator →

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