#6979EA#6979EA

#6979EA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.169 H 274.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6979EA
RGBrgb(105, 121, 234)
HSLhsl(233, 75%, 66%)
HSVhsv(233, 55%, 92%)
CMYKcmyk(55.1%, 48.3%, 0%, 8.2%)
CIE-LABlab(54.68, 26.10, -59.17)
CIE-LCHlch(54.68, 64.68, 293.80°)
OKLaboklab(61.92% 0.0127 -0.1689)
OKLCHoklch(61.92% 0.169 274.3)
XYZxyz(27.5096, 22.6166, 80.7418)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6979EA #EADA69
analogous
#69BAEA #6979EA #9A69EA
triadic
#6979EA #EA6979 #79EA69
tetradic
#6979EA #EA69BA #EADA69 #69EA9A
square
#6979EA #EA69BA #EADA69 #69EA9A
split-complementary
#6979EA #EA9A69 #BAEA69
monochromatic
#1B2FBE #3349E2 #6979EA #9FA9F2 #D4D9F9

Accessibility & contrast

On white

3.80
#6979EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6979EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6979EA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6979EA#FFFFFF#000000##000000
##6979EA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288EE
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#2192A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6979ea;
/* rgb */ color: rgb(105, 121, 234);
/* oklch */ color: oklch(61.9% 0.169 274.3);
Tailwind
colors: {
  custom: {
    50: '#9d9ff1',
    500: '#6979ea',
    950: '#000000',
  },
}
SCSS
$custom: #6979ea;
$custom-light: #9d9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6979ea",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 232.558,
    "s": 75.439,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.16937,
    "h": 274.3
  },
  "luminance": 0.22619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6979EA

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

Preview Lab → · Contrast checker → · Palette generator →

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