#6979DF#6979DF

#6979DF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.154 H 274.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6979DF
RGBrgb(105, 121, 223)
HSLhsl(232, 65%, 64%)
HSVhsv(232, 53%, 87%)
CMYKcmyk(52.9%, 45.7%, 0%, 12.5%)
CIE-LABlab(54.03, 22.63, -54.04)
CIE-LCHlch(54.03, 58.59, 292.72°)
OKLaboklab(61.22% 0.0114 -0.1538)
OKLCHoklch(61.22% 0.154 274.2)
XYZxyz(25.9781, 22.0040, 72.6760)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6979DF #DFCF69
analogous
#69B4DF #6979DF #9469DF
triadic
#6979DF #DF6979 #79DF69
tetradic
#6979DF #DF69B4 #DFCF69 #69DF94
square
#6979DF #DF69B4 #DFCF69 #69DF94
split-complementary
#6979DF #DF9469 #B4DF69
monochromatic
#2436A9 #374CD4 #6979DF #9BA6EA #CED3F5

Accessibility & contrast

On white

3.89
#6979DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#6979DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6979DF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6979DF#FFFFFF#000000##000000
##6979DF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#3E7CDD
Tritanopia (blue-blind)
#318FA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6979df;
/* rgb */ color: rgb(105, 121, 223);
/* oklch */ color: oklch(61.2% 0.154 274.2);
Tailwind
colors: {
  custom: {
    50: '#9c9fe9',
    500: '#6979df',
    950: '#000000',
  },
}
SCSS
$custom: #6979df;
$custom-light: #9c9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#6979df",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 231.864,
    "s": 64.835,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.15423,
    "h": 274.2
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#6979DF
secondary
#E6E1BD
accent
#B419CD
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6979DF

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

Preview Lab → · Contrast checker → · Palette generator →

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