#3879B3#3879B3

#3879B3 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.112 H 248.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3879B3
RGBrgb(56, 121, 179)
HSLhsl(208, 52%, 46%)
HSVhsv(208, 69%, 70%)
CMYKcmyk(68.7%, 32.4%, 0%, 29.8%)
CIE-LABlab(49.21, -1.60, -36.75)
CIE-LCHlch(49.21, 36.79, 267.51°)
OKLaboklab(56.07% -0.0417 -0.1041)
OKLCHoklch(56.07% 0.112 248.2)
XYZxyz(16.6019, 17.7684, 45.1938)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879B3 #B37238
analogous
#38B3AF #3879B3 #383BB3
triadic
#3879B3 #B33879 #79B338
tetradic
#3879B3 #AF38B3 #B37238 #3BB338
square
#3879B3 #AF38B3 #B37238 #3BB338
split-complementary
#3879B3 #B3383B #B3AF38
monochromatic
#1B3A56 #295984 #3879B3 #5C97CC #8BB5DB

Accessibility & contrast

On white

4.61
#3879B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3879B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3879B3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879B3#FFFFFF#000000##FFFFFF
##3879B31.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3879b3;
/* rgb */ color: rgb(56, 121, 179);
/* oklch */ color: oklch(56.1% 0.112 248.2);
Tailwind
colors: {
  custom: {
    50: '#7c9fca',
    500: '#3879b3',
    950: '#000000',
  },
}
SCSS
$custom: #3879b3;
$custom-light: #7c9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3879b3",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 208.293,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.1121,
    "h": 248.2
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#3879B3
secondary
#C5A182
accent
#904CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3879B3

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

Preview Lab → · Contrast checker → · Palette generator →

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