#3878B2#3878B2

#3878B2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.112 H 248.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3878B2
RGBrgb(56, 120, 178)
HSLhsl(209, 52%, 46%)
HSVhsv(209, 69%, 70%)
CMYKcmyk(68.5%, 32.6%, 0%, 30.2%)
CIE-LABlab(48.87, -1.35, -36.72)
CIE-LCHlch(48.87, 36.74, 267.89°)
OKLaboklab(55.79% -0.041 -0.104)
OKLCHoklch(55.79% 0.112 248.5)
XYZxyz(16.3802, 17.4863, 44.6228)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878B2 #B27238
analogous
#38B2AF #3878B2 #383BB2
triadic
#3878B2 #B23878 #78B238
tetradic
#3878B2 #AF38B2 #B27238 #3BB238
square
#3878B2 #AF38B2 #B27238 #3BB238
split-complementary
#3878B2 #B2383B #B2AF38
monochromatic
#1B3955 #295983 #3878B2 #5C96CC #8AB4DA

Accessibility & contrast

On white

4.67
#3878B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3878B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3878B2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878B2#FFFFFF#000000##FFFFFF
##3878B21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB4
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3878b2;
/* rgb */ color: rgb(56, 120, 178);
/* oklch */ color: oklch(55.8% 0.112 248.5);
Tailwind
colors: {
  custom: {
    50: '#7c9ec9',
    500: '#3878b2',
    950: '#000000',
  },
}
SCSS
$custom: #3878b2;
$custom-light: #7c9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3878b2",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 208.525,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.11176,
    "h": 248.5
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#3878B2
secondary
#C5A181
accent
#904CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3878B2

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

Preview Lab → · Contrast checker → · Palette generator →

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