#3878D3#3878D3

#3878D3 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.155 H 257.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3878D3
RGBrgb(56, 120, 211)
HSLhsl(215, 64%, 52%)
HSVhsv(215, 73%, 83%)
CMYKcmyk(73.5%, 43.1%, 0%, 17.3%)
CIE-LABlab(50.66, 10.58, -52.80)
CIE-LCHlch(50.66, 53.85, 281.33°)
OKLaboklab(57.77% -0.033 -0.1511)
OKLCHoklch(57.77% 0.155 257.7)
XYZxyz(20.1009, 18.9746, 64.2185)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878D3 #D39338
analogous
#38C5D3 #3878D3 #4638D3
triadic
#3878D3 #D33878 #78D338
tetradic
#3878D3 #D338C5 #D39338 #38D346
square
#3878D3 #D338C5 #D39338 #38D346
split-complementary
#3878D3 #D34638 #C5D338
monochromatic
#1A4076 #255BA9 #3878D3 #6A9ADE #9CBCE9

Accessibility & contrast

On white

4.38
#3878D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#3878D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878D3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878D3#FFFFFF#000000##000000
##3878D31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D7
Deuteranopia (green-blind)
#2E72D1
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3878d3;
/* rgb */ color: rgb(56, 120, 211);
/* oklch */ color: oklch(57.8% 0.155 257.7);
Tailwind
colors: {
  custom: {
    50: '#829ee1',
    500: '#3878d3',
    950: '#000000',
  },
}
SCSS
$custom: #3878d3;
$custom-light: #829ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#3878d3",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 211
  },
  "hsl": {
    "h": 215.226,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.15464,
    "h": 257.7
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#3878D3
secondary
#D5B992
accent
#A241E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878D3

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

Preview Lab → · Contrast checker → · Palette generator →

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