#3878C2#3878C2

#3878C2 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.7% C 0.132 H 253.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3878C2
RGBrgb(56, 120, 194)
HSLhsl(212, 55%, 49%)
HSVhsv(212, 71%, 76%)
CMYKcmyk(71.1%, 38.1%, 0%, 23.9%)
CIE-LABlab(49.70, 4.38, -44.63)
CIE-LCHlch(49.70, 44.84, 275.61°)
OKLaboklab(56.71% -0.0367 -0.1271)
OKLCHoklch(56.71% 0.132 253.9)
XYZxyz(18.0814, 18.1668, 53.5821)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878C2 #C28238
analogous
#38BDC2 #3878C2 #3D38C2
triadic
#3878C2 #C23878 #78C238
tetradic
#3878C2 #C238BD #C28238 #38C23D
square
#3878C2 #C238BD #C28238 #38C23D
split-complementary
#3878C2 #C23D38 #BDC238
monochromatic
#1D3D63 #2A5B93 #3878C2 #6598D2 #94B7E0

Accessibility & contrast

On white

4.53
#3878C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#3878C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878C2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878C2#FFFFFF#000000##000000
##3878C21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#4170C1
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3878c2;
/* rgb */ color: rgb(56, 120, 194);
/* oklch */ color: oklch(56.7% 0.132 253.9);
Tailwind
colors: {
  custom: {
    50: '#7f9ed5',
    500: '#3878c2',
    950: '#000000',
  },
}
SCSS
$custom: #3878c2;
$custom-light: #7f9ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3878c2",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 212.174,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.13229,
    "h": 253.9
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#3878C2
secondary
#CBAD8A
accent
#9949DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3878C2

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

Preview Lab → · Contrast checker → · Palette generator →

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