#6979EC#6979EC

#6979EC is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.1% C 0.172 H 274.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6979EC
RGBrgb(105, 121, 236)
HSLhsl(233, 78%, 67%)
HSVhsv(233, 56%, 93%)
CMYKcmyk(55.5%, 48.7%, 0%, 7.5%)
CIE-LABlab(54.80, 26.74, -60.10)
CIE-LCHlch(54.80, 65.78, 293.99°)
OKLaboklab(62.05% 0.013 -0.1716)
OKLCHoklch(62.05% 0.172 274.3)
XYZxyz(27.7985, 22.7321, 82.2635)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6979EC #ECDC69
analogous
#69BBEC #6979EC #9B69EC
triadic
#6979EC #EC6979 #79EC69
tetradic
#6979EC #EC69BB #ECDC69 #69EC9B
square
#6979EC #EC69BB #ECDC69 #69EC9B
split-complementary
#6979EC #EC9B69 #BBEC69
monochromatic
#192DC2 #3348E5 #6979EC #9FAAF3 #D6DAFA

Accessibility & contrast

On white

3.79
#6979EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6979EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6979EC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6979EC#FFFFFF#000000##000000
##6979EC1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#2C7EEA
Tritanopia (blue-blind)
#1E93A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6979ec;
/* rgb */ color: rgb(105, 121, 236);
/* oklch */ color: oklch(62.1% 0.172 274.3);
Tailwind
colors: {
  custom: {
    50: '#9d9ff3',
    500: '#6979ec',
    950: '#000000',
  },
}
SCSS
$custom: #6979ec;
$custom-light: #9d9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6979ec",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 232.672,
    "s": 77.515,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62051,
    "c": 0.17209,
    "h": 274.3
  },
  "luminance": 0.22734
}

Semantic roles & 50–950 ramp

primary
#6979EC
secondary
#EDE8C3
accent
#C10CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6979EC

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

Preview Lab → · Contrast checker → · Palette generator →

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