#6771F2#6771F2

#6771F2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.191 H 275.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6771F2
RGBrgb(103, 113, 242)
HSLhsl(236, 84%, 68%)
HSVhsv(236, 57%, 95%)
CMYKcmyk(57.4%, 53.3%, 0%, 5.1%)
CIE-LABlab(53.06, 33.10, -66.24)
CIE-LCHlch(53.06, 74.05, 296.55°)
OKLaboklab(60.83% 0.0193 -0.1898)
OKLCHoklch(60.83% 0.191 275.8)
XYZxyz(27.5205, 21.1026, 86.6102)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771F2 #F2E867
analogous
#67B7F2 #6771F2 #A267F2
triadic
#6771F2 #F26771 #71F267
tetradic
#6771F2 #F267B7 #F2E867 #67F2A2
square
#6771F2 #F267B7 #F2E867 #67F2A2
split-complementary
#6771F2 #F2A267 #B7F267
monochromatic
#121FCD #2F3CED #6771F2 #9FA6F7 #D8DAFC

Accessibility & contrast

On white

4.02
#6771F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6771F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771F2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771F2#FFFFFF#000000##000000
##6771F21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D85F6
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6771f2;
/* rgb */ color: rgb(103, 113, 242);
/* oklch */ color: oklch(60.8% 0.191 275.8);
Tailwind
colors: {
  custom: {
    50: '#9d99f7',
    500: '#6771f2',
    950: '#000000',
  },
}
SCSS
$custom: #6771f2;
$custom-light: #9d99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6771f2",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 235.683,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.19077,
    "h": 275.8
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#6771F2
secondary
#F0EDC5
accent
#D105E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6771F2

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

Preview Lab → · Contrast checker → · Palette generator →

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