#3879BA#3879BA

#3879BA is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.121 H 250.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3879BA
RGBrgb(56, 121, 186)
HSLhsl(210, 54%, 47%)
HSVhsv(210, 70%, 73%)
CMYKcmyk(69.9%, 34.9%, 0%, 27.1%)
CIE-LABlab(49.57, 0.89, -40.24)
CIE-LCHlch(49.57, 40.25, 271.27°)
OKLaboklab(56.47% -0.0397 -0.1142)
OKLCHoklch(56.47% 0.121 250.8)
XYZxyz(17.3279, 18.0588, 49.0173)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879BA #BA7938
analogous
#38BABA #3879BA #3838BA
triadic
#3879BA #BA3879 #79BA38
tetradic
#3879BA #BA38BA #BA7938 #38BA38
square
#3879BA #BA38BA #BA7938 #38BA38
split-complementary
#3879BA #BA3838 #BABA38
monochromatic
#1C3C5C #2A5A8B #3879BA #6098CF #8FB6DD

Accessibility & contrast

On white

4.55
#3879BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3879BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879BA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879BA#FFFFFF#000000##000000
##3879BA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3879ba;
/* rgb */ color: rgb(56, 121, 186);
/* oklch */ color: oklch(56.5% 0.121 250.8);
Tailwind
colors: {
  custom: {
    50: '#7e9fcf',
    500: '#3879ba',
    950: '#000000',
  },
}
SCSS
$custom: #3879ba;
$custom-light: #7e9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3879ba",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 210,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.12094,
    "h": 250.8
  },
  "luminance": 0.18061
}

Semantic roles & 50–950 ramp

primary
#3879BA
secondary
#C8A786
accent
#944BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3879BA

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

Preview Lab → · Contrast checker → · Palette generator →

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