#6978ED#6978ED

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

Color values

HEX#6978ED
RGBrgb(105, 120, 237)
HSLhsl(233, 79%, 67%)
HSVhsv(233, 56%, 93%)
CMYKcmyk(55.7%, 49.4%, 0%, 7.1%)
CIE-LABlab(54.60, 27.66, -60.96)
CIE-LCHlch(54.60, 66.94, 294.41°)
OKLaboklab(61.93% 0.0141 -0.1741)
OKLCHoklch(61.93% 0.175 274.6)
XYZxyz(27.8233, 22.5486, 82.9905)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6978ED #EDDE69
analogous
#69BAED #6978ED #9C69ED
triadic
#6978ED #ED6978 #78ED69
tetradic
#6978ED #ED69BA #EDDE69 #69ED9C
square
#6978ED #ED69BA #EDDE69 #69ED9C
split-complementary
#6978ED #ED9C69 #BAED69
monochromatic
#182BC4 #3247E6 #6978ED #A0A9F4 #D6DAFA

Accessibility & contrast

On white

3.81
#6978ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6978ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6978ED
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6978ED#FFFFFF#000000##000000
##6978ED1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F1
Deuteranopia (green-blind)
#277DEB
Tritanopia (blue-blind)
#1C92A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6978ed;
/* rgb */ color: rgb(105, 120, 237);
/* oklch */ color: oklch(61.9% 0.175 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef3',
    500: '#6978ed',
    950: '#000000',
  },
}
SCSS
$custom: #6978ed;
$custom-light: #9d9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6978ed",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 233.182,
    "s": 78.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.17472,
    "h": 274.6
  },
  "luminance": 0.22551
}

Semantic roles & 50–950 ramp

primary
#6978ED
secondary
#EEE9C4
accent
#C30BDB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6978ED

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

Preview Lab → · Contrast checker → · Palette generator →

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