#6A76EC#6A76EC

#6A76EC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.176 H 275.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6A76EC
RGBrgb(106, 118, 236)
HSLhsl(234, 77%, 67%)
HSVhsv(234, 55%, 93%)
CMYKcmyk(55.1%, 50%, 0%, 7.5%)
CIE-LABlab(54.11, 28.75, -61.20)
CIE-LCHlch(54.11, 67.61, 295.16°)
OKLaboklab(61.55% 0.0172 -0.1748)
OKLCHoklch(61.55% 0.176 275.6)
XYZxyz(27.5578, 22.0753, 82.1494)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A76EC #ECE06A
analogous
#6AB7EC #6A76EC #9F6AEC
triadic
#6A76EC #EC6A76 #76EC6A
tetradic
#6A76EC #EC6AB7 #ECE06A #6AEC9F
square
#6A76EC #EC6AB7 #ECE06A #6AEC9F
split-complementary
#6A76EC #EC9F6A #B7EC6A
monochromatic
#1929C3 #3444E5 #6A76EC #A0A8F3 #D7DAFA

Accessibility & contrast

On white

3.88
#6A76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6A76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A76EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A76EC#FFFFFF#000000##000000
##6A76EC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#2391A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6a76ec;
/* rgb */ color: rgb(106, 118, 236);
/* oklch */ color: oklch(61.5% 0.176 275.6);
Tailwind
colors: {
  custom: {
    50: '#9e9df3',
    500: '#6a76ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a76ec;
$custom-light: #9e9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a76ec",
  "rgb": {
    "r": 106,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 234.462,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.17569,
    "h": 275.6
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#6A76EC
secondary
#EEEAC4
accent
#C70CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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