#6979EB#6979EB

#6979EB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.171 H 274.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6979EB
RGBrgb(105, 121, 235)
HSLhsl(233, 76%, 67%)
HSVhsv(233, 55%, 92%)
CMYKcmyk(55.3%, 48.5%, 0%, 7.8%)
CIE-LABlab(54.74, 26.42, -59.63)
CIE-LCHlch(54.74, 65.23, 293.90°)
OKLaboklab(61.99% 0.0128 -0.1702)
OKLCHoklch(61.99% 0.171 274.3)
XYZxyz(27.6536, 22.6742, 81.5005)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6979EB #EBDB69
analogous
#69BAEB #6979EB #9A69EB
triadic
#6979EB #EB6979 #79EB69
tetradic
#6979EB #EB69BA #EBDB69 #69EB9A
square
#6979EB #EB69BA #EBDB69 #69EB9A
split-complementary
#6979EB #EB9A69 #BAEB69
monochromatic
#1A2EC0 #3349E4 #6979EB #9FA9F2 #D5D9F9

Accessibility & contrast

On white

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

On black

5.54
#6979EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6979EB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6979EB#FFFFFF#000000##000000
##6979EB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#2092A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6979eb;
/* rgb */ color: rgb(105, 121, 235);
/* oklch */ color: oklch(62.0% 0.171 274.3);
Tailwind
colors: {
  custom: {
    50: '#9d9ff2',
    500: '#6979eb',
    950: '#000000',
  },
}
SCSS
$custom: #6979eb;
$custom-light: #9d9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6979eb",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 232.615,
    "s": 76.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.17072,
    "h": 274.3
  },
  "luminance": 0.22676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6979EB

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

Preview Lab → · Contrast checker → · Palette generator →

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