#6771E6#6771E6

#6771E6 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.175 H 276.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6771E6
RGBrgb(103, 113, 230)
HSLhsl(235, 72%, 65%)
HSVhsv(235, 55%, 90%)
CMYKcmyk(55.2%, 50.9%, 0%, 9.8%)
CIE-LABlab(52.29, 29.28, -60.77)
CIE-LCHlch(52.29, 67.46, 295.73°)
OKLaboklab(60.01% 0.0186 -0.1737)
OKLCHoklch(60.01% 0.175 276.1)
XYZxyz(25.7770, 20.4052, 77.4278)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771E6 #E6DC67
analogous
#67B0E6 #6771E6 #9D67E6
triadic
#6771E6 #E66771 #71E667
tetradic
#6771E6 #E667B0 #E6DC67 #67E69D
square
#6771E6 #E667B0 #E6DC67 #67E69D
split-complementary
#6771E6 #E69D67 #B0E667
monochromatic
#1E2AB5 #3240DD #6771E6 #9CA2EF #D0D3F7

Accessibility & contrast

On white

4.13
#6771E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6771E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771E6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771E6#FFFFFF#000000##000000
##6771E61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3282EA
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#228BA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6771e6;
/* rgb */ color: rgb(103, 113, 230);
/* oklch */ color: oklch(60.0% 0.175 276.1);
Tailwind
colors: {
  custom: {
    50: '#9c99ef',
    500: '#6771e6',
    950: '#000000',
  },
}
SCSS
$custom: #6771e6;
$custom-light: #9c99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6771e6",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 235.276,
    "s": 71.751,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.1747,
    "h": 276.1
  },
  "luminance": 0.20407
}

Semantic roles & 50–950 ramp

primary
#6771E6
secondary
#EAE6BF
accent
#C512D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6771E6

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

Preview Lab → · Contrast checker → · Palette generator →

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