#6A79C7#6A79C7

#6A79C7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.120 H 274.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6A79C7
RGBrgb(106, 121, 199)
HSLhsl(230, 45%, 60%)
HSVhsv(230, 47%, 78%)
CMYKcmyk(46.7%, 39.2%, 0%, 22%)
CIE-LABlab(52.80, 15.43, -42.41)
CIE-LCHlch(52.80, 45.13, 289.99°)
OKLaboklab(59.88% 0.0084 -0.1197)
OKLCHoklch(59.88% 0.12 274)
XYZxyz(23.0868, 20.8611, 56.8319)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A79C7 #C7B86A
analogous
#6AA7C7 #6A79C7 #8A6AC7
triadic
#6A79C7 #C76A79 #79C76A
tetradic
#6A79C7 #C76AA7 #C7B86A #6AC78A
square
#6A79C7 #C76AA7 #C7B86A #6AC78A
split-complementary
#6A79C7 #C78A6A #A7C76A
monochromatic
#323F85 #4354B1 #6A79C7 #96A1D8 #C3C9E8

Accessibility & contrast

On white

4.06
#6A79C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6A79C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A79C7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A79C7#FFFFFF#000000##000000
##6A79C71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#488996
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a79c7;
/* rgb */ color: rgb(106, 121, 199);
/* oklch */ color: oklch(59.9% 0.120 274.0);
Tailwind
colors: {
  custom: {
    50: '#999fd8',
    500: '#6a79c7',
    950: '#000000',
  },
}
SCSS
$custom: #6a79c7;
$custom-light: #999fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a79c7",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 230.323,
    "s": 45.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.12003,
    "h": 274
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#6A79C7
secondary
#D8D3B4
accent
#C053D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #6A79C7

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

Preview Lab → · Contrast checker → · Palette generator →

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