#3771CF#3771CF

#3771CF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.158 H 259.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3771CF
RGBrgb(55, 113, 207)
HSLhsl(217, 61%, 51%)
HSVhsv(217, 73%, 81%)
CMYKcmyk(73.4%, 45.4%, 0%, 18.8%)
CIE-LABlab(48.42, 13.35, -54.11)
CIE-LCHlch(48.42, 55.73, 283.86°)
OKLaboklab(55.95% -0.0283 -0.1551)
OKLCHoklch(55.95% 0.158 259.6)
XYZxyz(18.7391, 17.1254, 61.3373)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771CF #CF9537
analogous
#37BDCF #3771CF #4937CF
triadic
#3771CF #CF3771 #71CF37
tetradic
#3771CF #CF37BD #CF9537 #37CF49
square
#3771CF #CF37BD #CF9537 #37CF49
split-complementary
#3771CF #CF4937 #BDCF37
monochromatic
#1B3C71 #2756A2 #3771CF #6894DB #9AB7E7

Accessibility & contrast

On white

4.75
#3771CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3771CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771CF#FFFFFF#000000##FFFFFF
##3771CF1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#1F6CCD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3771cf;
/* rgb */ color: rgb(55, 113, 207);
/* oklch */ color: oklch(55.9% 0.158 259.6);
Tailwind
colors: {
  custom: {
    50: '#8199de',
    500: '#3771cf',
    950: '#000000',
  },
}
SCSS
$custom: #3771cf;
$custom-light: #8199de;
$custom-dark: #000000;
JSON
{
  "hex": "#3771cf",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 217.105,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.15765,
    "h": 259.6
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#3771CF
secondary
#D2B98F
accent
#A743E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3771CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3771CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva