#6771EC#6771EC

#6771EC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.183 H 276.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6771EC
RGBrgb(103, 113, 236)
HSLhsl(235, 78%, 66%)
HSVhsv(235, 56%, 93%)
CMYKcmyk(56.4%, 52.1%, 0%, 7.5%)
CIE-LABlab(52.67, 31.19, -63.52)
CIE-LCHlch(52.67, 70.76, 296.15°)
OKLaboklab(60.42% 0.019 -0.1818)
OKLCHoklch(60.42% 0.183 276)
XYZxyz(26.6341, 20.7481, 81.9419)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771EC #ECE267
analogous
#67B4EC #6771EC #A067EC
triadic
#6771EC #EC6771 #71EC67
tetradic
#6771EC #EC67B4 #ECE267 #67ECA0
square
#6771EC #EC67B4 #ECE267 #67ECA0
split-complementary
#6771EC #ECA067 #B4EC67
monochromatic
#1825C1 #313EE5 #6771EC #9DA4F3 #D4D7FA

Accessibility & contrast

On white

4.08
#6771EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6771EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771EC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771EC#FFFFFF#000000##000000
##6771EC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#0278E9
Tritanopia (blue-blind)
#158DA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6771ec;
/* rgb */ color: rgb(103, 113, 236);
/* oklch */ color: oklch(60.4% 0.183 276.0);
Tailwind
colors: {
  custom: {
    50: '#9d99f3',
    500: '#6771ec',
    950: '#000000',
  },
}
SCSS
$custom: #6771ec;
$custom-light: #9d99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6771ec",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 235.489,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.18278,
    "h": 276
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#6771EC
secondary
#EDEAC2
accent
#CA0BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6771EC

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

Preview Lab → · Contrast checker → · Palette generator →

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