#6979DC#6979DC

#6979DC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.150 H 274.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6979DC
RGBrgb(105, 121, 220)
HSLhsl(232, 62%, 64%)
HSVhsv(232, 52%, 86%)
CMYKcmyk(52.3%, 45%, 0%, 13.7%)
CIE-LABlab(53.86, 21.68, -52.63)
CIE-LCHlch(53.86, 56.92, 292.39°)
OKLaboklab(61.04% 0.011 -0.1497)
OKLCHoklch(61.04% 0.15 274.2)
XYZxyz(25.5772, 21.8436, 70.5647)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6979DC #DCCC69
analogous
#69B2DC #6979DC #9269DC
triadic
#6979DC #DC6979 #79DC69
tetradic
#6979DC #DC69B2 #DCCC69 #69DC92
square
#6979DC #DC69B2 #DCCC69 #69DC92
split-complementary
#6979DC #DC9269 #B2DC69
monochromatic
#2638A4 #374DD0 #6979DC #9BA5E8 #CCD2F3

Accessibility & contrast

On white

3.91
#6979DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6979DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6979DC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6979DC#FFFFFF#000000##000000
##6979DC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#348EA0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6979dc;
/* rgb */ color: rgb(105, 121, 220);
/* oklch */ color: oklch(61.0% 0.150 274.2);
Tailwind
colors: {
  custom: {
    50: '#9b9fe7',
    500: '#6979dc',
    950: '#000000',
  },
}
SCSS
$custom: #6979dc;
$custom-light: #9b9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#6979dc",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 231.652,
    "s": 62.162,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.15006,
    "h": 274.2
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#6979DC
secondary
#E5DFBC
accent
#B21CCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6979DC

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

Preview Lab → · Contrast checker → · Palette generator →

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