#3771CB#3771CB

#3771CB is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.152 H 259.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3771CB
RGBrgb(55, 113, 203)
HSLhsl(216, 59%, 51%)
HSVhsv(216, 73%, 80%)
CMYKcmyk(72.9%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.17, 11.87, -52.22)
CIE-LCHlch(48.17, 53.55, 282.81°)
OKLaboklab(55.68% -0.029 -0.1495)
OKLCHoklch(55.68% 0.152 259)
XYZxyz(18.2563, 16.9323, 58.7944)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771CB #CB9137
analogous
#37BBCB #3771CB #4737CB
triadic
#3771CB #CB3771 #71CB37
tetradic
#3771CB #CB37BB #CB9137 #37CB47
square
#3771CB #CB37BB #CB9137 #37CB47
split-complementary
#3771CB #CB4737 #BBCB37
monochromatic
#1C3B6C #29569C #3771CB #6893D8 #98B6E4

Accessibility & contrast

On white

4.79
#3771CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3771CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771CB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771CB#FFFFFF#000000##FFFFFF
##3771CB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3771cb;
/* rgb */ color: rgb(55, 113, 203);
/* oklch */ color: oklch(55.7% 0.152 259.0);
Tailwind
colors: {
  custom: {
    50: '#8099db',
    500: '#3771cb',
    950: '#000000',
  },
}
SCSS
$custom: #3771cb;
$custom-light: #8099db;
$custom-dark: #000000;
JSON
{
  "hex": "#3771cb",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 216.486,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55682,
    "c": 0.15231,
    "h": 259
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#3771CB
secondary
#D0B68E
accent
#A546E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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