#3878B7#3878B7

#3878B7 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.118 H 250.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3878B7
RGBrgb(56, 120, 183)
HSLhsl(210, 53%, 47%)
HSVhsv(210, 69%, 72%)
CMYKcmyk(69.4%, 34.4%, 0%, 28.2%)
CIE-LABlab(49.12, 0.43, -39.21)
CIE-LCHlch(49.12, 39.22, 270.62°)
OKLaboklab(56.07% -0.0395 -0.1113)
OKLCHoklch(56.07% 0.118 250.4)
XYZxyz(16.8914, 17.6908, 47.3150)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878B7 #B77738
analogous
#38B7B7 #3878B7 #3838B7
triadic
#3878B7 #B73878 #78B738
tetradic
#3878B7 #B738B7 #B77738 #38B738
square
#3878B7 #B738B7 #B77738 #38B738
split-complementary
#3878B7 #B73838 #B7B738
monochromatic
#1B3B59 #2A5988 #3878B7 #5E97CE #8DB5DC

Accessibility & contrast

On white

4.63
#3878B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3878B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3878B7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878B7#FFFFFF#000000##FFFFFF
##3878B71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7BBA
Deuteranopia (green-blind)
#4A6FB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3878b7;
/* rgb */ color: rgb(56, 120, 183);
/* oklch */ color: oklch(56.1% 0.118 250.4);
Tailwind
colors: {
  custom: {
    50: '#7d9ecd',
    500: '#3878b7',
    950: '#000000',
  },
}
SCSS
$custom: #3878b7;
$custom-light: #7d9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3878b7",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 209.764,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.11808,
    "h": 250.4
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#3878B7
secondary
#C7A584
accent
#934BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3878B7

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

Preview Lab → · Contrast checker → · Palette generator →

#3878B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva