#3873C7#3873C7

#3873C7 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.144 H 257.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3873C7
RGBrgb(56, 115, 199)
HSLhsl(215, 56%, 50%)
HSVhsv(215, 72%, 78%)
CMYKcmyk(71.9%, 42.2%, 0%, 22%)
CIE-LABlab(48.54, 9.29, -49.34)
CIE-LCHlch(48.54, 50.21, 280.67°)
OKLaboklab(55.9% -0.0309 -0.141)
OKLCHoklch(55.9% 0.144 257.6)
XYZxyz(18.0667, 17.2238, 56.3941)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873C7 #C78C38
analogous
#38BAC7 #3873C7 #4538C7
triadic
#3873C7 #C73873 #73C738
tetradic
#3873C7 #C738BA #C78C38 #38C745
square
#3873C7 #C738BA #C78C38 #38C745
split-complementary
#3873C7 #C74538 #BAC738
monochromatic
#1D3C67 #2B5797 #3873C7 #6895D4 #98B6E2

Accessibility & contrast

On white

4.72
#3873C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3873C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873C7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873C7#FFFFFF#000000##FFFFFF
##3873C71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ACA
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3873c7;
/* rgb */ color: rgb(56, 115, 199);
/* oklch */ color: oklch(55.9% 0.144 257.6);
Tailwind
colors: {
  custom: {
    50: '#809ad8',
    500: '#3873c7',
    950: '#000000',
  },
}
SCSS
$custom: #3873c7;
$custom-light: #809ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3873c7",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 199
  },
  "hsl": {
    "h": 215.245,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.14435,
    "h": 257.6
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#3873C7
secondary
#CDB38D
accent
#A148DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3873C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3873C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva