#6A79EA#6A79EA

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

Color values

HEX#6A79EA
RGBrgb(106, 121, 234)
HSLhsl(233, 75%, 67%)
HSVhsv(233, 55%, 92%)
CMYKcmyk(54.7%, 48.3%, 0%, 8.2%)
CIE-LABlab(54.74, 26.30, -59.07)
CIE-LCHlch(54.74, 64.66, 294.00°)
OKLaboklab(61.99% 0.0138 -0.1685)
OKLCHoklch(61.99% 0.169 274.7)
XYZxyz(27.6277, 22.6775, 80.7473)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A79EA #EADB6A
analogous
#6AB9EA #6A79EA #9B6AEA
triadic
#6A79EA #EA6A79 #79EA6A
tetradic
#6A79EA #EA6AB9 #EADB6A #6AEA9B
square
#6A79EA #EA6AB9 #EADB6A #6AEA9B
split-complementary
#6A79EA #EA9B6A #B9EA6A
monochromatic
#1B2EBF #3449E2 #6A79EA #A0A9F2 #D5D9F9

Accessibility & contrast

On white

3.79
#6A79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6A79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A79EA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A79EA#FFFFFF#000000##000000
##6A79EA1.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)
#4289EE
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#2692A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a79ea;
/* rgb */ color: rgb(106, 121, 234);
/* oklch */ color: oklch(62.0% 0.169 274.7);
Tailwind
colors: {
  custom: {
    50: '#9e9ff1',
    500: '#6a79ea',
    950: '#000000',
  },
}
SCSS
$custom: #6a79ea;
$custom-light: #9e9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a79ea",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 232.969,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.16911,
    "h": 274.7
  },
  "luminance": 0.22679
}

Semantic roles & 50–950 ramp

primary
#6A79EA
secondary
#EDE8C3
accent
#C00ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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