#3877B3#3877B3

#3877B3 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.114 H 249.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3877B3
RGBrgb(56, 119, 179)
HSLhsl(209, 52%, 46%)
HSVhsv(209, 69%, 70%)
CMYKcmyk(68.7%, 33.5%, 0%, 29.8%)
CIE-LABlab(48.62, -0.39, -37.69)
CIE-LCHlch(48.62, 37.69, 269.40°)
OKLaboklab(55.61% -0.0397 -0.1068)
OKLCHoklch(55.61% 0.114 249.6)
XYZxyz(16.3614, 17.2874, 45.1136)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877B3 #B37438
analogous
#38B3B1 #3877B3 #383AB3
triadic
#3877B3 #B33877 #77B338
tetradic
#3877B3 #B138B3 #B37438 #3AB338
square
#3877B3 #B138B3 #B37438 #3AB338
split-complementary
#3877B3 #B3383A #B3B138
monochromatic
#1B3956 #295884 #3877B3 #5C95CC #8BB4DB

Accessibility & contrast

On white

4.71
#3877B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3877B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877B3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877B3#FFFFFF#000000##FFFFFF
##3877B31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB6
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#00858D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3877b3;
/* rgb */ color: rgb(56, 119, 179);
/* oklch */ color: oklch(55.6% 0.114 249.6);
Tailwind
colors: {
  custom: {
    50: '#7c9dca',
    500: '#3877b3',
    950: '#000000',
  },
}
SCSS
$custom: #3877b3;
$custom-light: #7c9dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3877b3",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 179
  },
  "hsl": {
    "h": 209.268,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.11394,
    "h": 249.6
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#3877B3
secondary
#C5A382
accent
#924CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3877B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3877B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva