#6978EA#6978EA

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

Color values

HEX#6978EA
RGBrgb(105, 120, 234)
HSLhsl(233, 75%, 66%)
HSVhsv(233, 55%, 92%)
CMYKcmyk(55.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(54.42, 26.71, -59.58)
CIE-LCHlch(54.42, 65.29, 294.15°)
OKLaboklab(61.73% 0.0138 -0.1701)
OKLCHoklch(61.73% 0.171 274.6)
XYZxyz(27.3887, 22.3748, 80.7015)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978EA #EADB69
analogous
#69B9EA #6978EA #9B69EA
triadic
#6978EA #EA6978 #78EA69
tetradic
#6978EA #EA69B9 #EADB69 #69EA9B
square
#6978EA #EA69B9 #EADB69 #69EA9B
split-complementary
#6978EA #EA9B69 #B9EA69
monochromatic
#1B2EBE #3348E2 #6978EA #9FA8F2 #D4D9F9

Accessibility & contrast

On white

3.84
#6978EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6978EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978EA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978EA#FFFFFF#000000##000000
##6978EA1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#2D7DE8
Tritanopia (blue-blind)
#2291A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6978ea;
/* rgb */ color: rgb(105, 120, 234);
/* oklch */ color: oklch(61.7% 0.171 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef1',
    500: '#6978ea',
    950: '#000000',
  },
}
SCSS
$custom: #6978ea;
$custom-light: #9d9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6978ea",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 233.023,
    "s": 75.439,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.17065,
    "h": 274.6
  },
  "luminance": 0.22377
}

Semantic roles & 50–950 ramp

primary
#6978EA
secondary
#ECE7C2
accent
#C00ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6978EA

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

Preview Lab → · Contrast checker → · Palette generator →

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