#6B79E2#6B79E2

#6B79E2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.158 H 275.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6B79E2
RGBrgb(107, 121, 226)
HSLhsl(233, 67%, 65%)
HSVhsv(233, 53%, 89%)
CMYKcmyk(52.7%, 46.5%, 0%, 11.4%)
CIE-LABlab(54.33, 23.99, -55.24)
CIE-LCHlch(54.33, 60.22, 293.48°)
OKLaboklab(61.54% 0.0139 -0.1573)
OKLCHoklch(61.54% 0.158 275.1)
XYZxyz(26.6239, 22.2898, 74.8362)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B79E2 #E2D46B
analogous
#6BB5E2 #6B79E2 #986BE2
triadic
#6B79E2 #E26B79 #79E26B
tetradic
#6B79E2 #E26BB5 #E2D46B #6BE298
square
#6B79E2 #E26BB5 #E2D46B #6BE298
split-complementary
#6B79E2 #E2986B #B5E26B
monochromatic
#2333B0 #384BD8 #6B79E2 #9EA7EC #D1D6F6

Accessibility & contrast

On white

3.85
#6B79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6B79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B79E2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B79E2#FFFFFF#000000##000000
##6B79E21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#3C7DE0
Tritanopia (blue-blind)
#3490A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6b79e2;
/* rgb */ color: rgb(107, 121, 226);
/* oklch */ color: oklch(61.5% 0.158 275.1);
Tailwind
colors: {
  custom: {
    50: '#9d9fec',
    500: '#6b79e2',
    950: '#000000',
  },
}
SCSS
$custom: #6b79e2;
$custom-light: #9d9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#6b79e2",
  "rgb": {
    "r": 107,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 232.941,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61544,
    "c": 0.15789,
    "h": 275.1
  },
  "luminance": 0.22292
}

Semantic roles & 50–950 ramp

primary
#6B79E2
secondary
#E8E4C0
accent
#B916CF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6B79E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6B79E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva