#3877CB#3877CB

#3877CB is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 57.0% C 0.145 H 256.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3877CB
RGBrgb(56, 119, 203)
HSLhsl(214, 59%, 51%)
HSVhsv(214, 72%, 80%)
CMYKcmyk(72.4%, 41.4%, 0%, 20.4%)
CIE-LABlab(49.91, 8.27, -49.44)
CIE-LCHlch(49.91, 50.13, 279.50°)
OKLaboklab(57.04% -0.0337 -0.1412)
OKLCHoklch(57.04% 0.145 256.6)
XYZxyz(19.0033, 18.3441, 59.0276)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877CB #CB8C38
analogous
#38C0CB #3877CB #4238CB
triadic
#3877CB #CB3877 #77CB38
tetradic
#3877CB #CB38C0 #CB8C38 #38CB42
square
#3877CB #CB38C0 #CB8C38 #38CB42
split-complementary
#3877CB #CB4238 #C0CB38
monochromatic
#1C3F6C #295B9D #3877CB #6998D8 #99B9E4

Accessibility & contrast

On white

4.50
#3877CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#3877CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3877CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877CB#FFFFFF#000000##000000
##3877CB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3877cb;
/* rgb */ color: rgb(56, 119, 203);
/* oklch */ color: oklch(57.0% 0.145 256.6);
Tailwind
colors: {
  custom: {
    50: '#819ddb',
    500: '#3877cb',
    950: '#000000',
  },
}
SCSS
$custom: #3877cb;
$custom-light: #819ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#3877cb",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 214.286,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.1452,
    "h": 256.6
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#3877CB
secondary
#D0B48F
accent
#9F46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3877CB

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

Preview Lab → · Contrast checker → · Palette generator →

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