#6771EA#6771EA

#6771EA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.3% C 0.180 H 276.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6771EA
RGBrgb(103, 113, 234)
HSLhsl(235, 76%, 66%)
HSVhsv(235, 56%, 92%)
CMYKcmyk(56%, 51.7%, 0%, 8.2%)
CIE-LABlab(52.54, 30.55, -62.61)
CIE-LCHlch(52.54, 69.66, 296.01°)
OKLaboklab(60.28% 0.0189 -0.1791)
OKLCHoklch(60.28% 0.18 276)
XYZxyz(26.3452, 20.6325, 80.4201)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771EA #EAE067
analogous
#67B2EA #6771EA #9E67EA
triadic
#6771EA #EA6771 #71EA67
tetradic
#6771EA #EA67B2 #EAE067 #67EA9E
square
#6771EA #EA67B2 #EAE067 #67EA9E
split-complementary
#6771EA #EA9E67 #B2EA67
monochromatic
#1A26BD #313FE3 #6771EA #9DA3F1 #D3D5F9

Accessibility & contrast

On white

4.10
#6771EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6771EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771EA#FFFFFF#000000##000000
##6771EA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83EE
Deuteranopia (green-blind)
#0E78E7
Tritanopia (blue-blind)
#1A8DA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6771ea;
/* rgb */ color: rgb(103, 113, 234);
/* oklch */ color: oklch(60.3% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#9c99f1',
    500: '#6771ea',
    950: '#000000',
  },
}
SCSS
$custom: #6771ea;
$custom-light: #9c99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6771ea",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 235.42,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.18009,
    "h": 276
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#6771EA
secondary
#ECE9C1
accent
#C80ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6771EA

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

Preview Lab → · Contrast checker → · Palette generator →

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