#6777EC#6777EC

#6777EC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.175 H 274.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6777EC
RGBrgb(103, 119, 236)
HSLhsl(233, 78%, 66%)
HSVhsv(233, 56%, 93%)
CMYKcmyk(56.4%, 49.6%, 0%, 7.5%)
CIE-LABlab(54.17, 27.56, -61.11)
CIE-LCHlch(54.17, 67.04, 294.27°)
OKLaboklab(61.54% 0.0129 -0.1747)
OKLCHoklch(61.54% 0.175 274.2)
XYZxyz(27.3257, 22.1314, 82.1724)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6777EC #ECDC67
analogous
#67BAEC #6777EC #9A67EC
triadic
#6777EC #EC6777 #77EC67
tetradic
#6777EC #EC67BA #ECDC67 #67EC9A
square
#6777EC #EC67BA #ECDC67 #67EC9A
split-complementary
#6777EC #EC9A67 #BAEC67
monochromatic
#182CC1 #3146E5 #6777EC #9DA8F3 #D4D8FA

Accessibility & contrast

On white

3.87
#6777EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6777EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6777EC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6777EC#FFFFFF#000000##000000
##6777EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#247CEA
Tritanopia (blue-blind)
#1291A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6777ec;
/* rgb */ color: rgb(103, 119, 236);
/* oklch */ color: oklch(61.5% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#9c9ef3',
    500: '#6777ec',
    950: '#000000',
  },
}
SCSS
$custom: #6777ec;
$custom-light: #9c9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6777ec",
  "rgb": {
    "r": 103,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 232.782,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.17514,
    "h": 274.2
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#6777EC
secondary
#EDE8C2
accent
#C10BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6777EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6777EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva