#6979E1#6979E1

#6979E1 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.157 H 274.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6979E1
RGBrgb(105, 121, 225)
HSLhsl(232, 67%, 65%)
HSVhsv(232, 53%, 88%)
CMYKcmyk(53.3%, 46.2%, 0%, 11.8%)
CIE-LABlab(54.15, 23.25, -54.98)
CIE-LCHlch(54.15, 59.70, 292.93°)
OKLaboklab(61.35% 0.0117 -0.1566)
OKLCHoklch(61.35% 0.157 274.3)
XYZxyz(26.2493, 22.1125, 74.1045)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6979E1 #E1D169
analogous
#69B5E1 #6979E1 #9569E1
triadic
#6979E1 #E16979 #79E169
tetradic
#6979E1 #E169B5 #E1D169 #69E195
square
#6979E1 #E169B5 #E1D169 #69E195
split-complementary
#6979E1 #E19569 #B5E169
monochromatic
#2335AD #364BD7 #6979E1 #9CA7EB #CFD4F5

Accessibility & contrast

On white

3.87
#6979E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6979E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6979E1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6979E1#FFFFFF#000000##000000
##6979E11.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E5
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#2F90A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6979e1;
/* rgb */ color: rgb(105, 121, 225);
/* oklch */ color: oklch(61.4% 0.157 274.3);
Tailwind
colors: {
  custom: {
    50: '#9c9feb',
    500: '#6979e1',
    950: '#000000',
  },
}
SCSS
$custom: #6979e1;
$custom-light: #9c9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#6979e1",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 232,
    "s": 66.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.157,
    "h": 274.3
  },
  "luminance": 0.22114
}

Semantic roles & 50–950 ramp

primary
#6979E1
secondary
#E7E2BE
accent
#B617CF
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6979E1

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

Preview Lab → · Contrast checker → · Palette generator →

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