#3873C6#3873C6

#3873C6 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.8% C 0.143 H 257.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3873C6
RGBrgb(56, 115, 198)
HSLhsl(215, 56%, 50%)
HSVhsv(215, 72%, 78%)
CMYKcmyk(71.7%, 41.9%, 0%, 22.4%)
CIE-LABlab(48.48, 8.93, -48.86)
CIE-LCHlch(48.48, 49.67, 280.35°)
OKLaboklab(55.84% -0.0311 -0.1396)
OKLCHoklch(55.84% 0.143 257.4)
XYZxyz(17.9509, 17.1775, 55.7847)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873C6 #C68B38
analogous
#38BAC6 #3873C6 #4438C6
triadic
#3873C6 #C63873 #73C638
tetradic
#3873C6 #C638BA #C68B38 #38C644
square
#3873C6 #C638BA #C68B38 #38C644
split-complementary
#3873C6 #C64438 #BAC638
monochromatic
#1D3C67 #2B5796 #3873C6 #6794D4 #97B6E2

Accessibility & contrast

On white

4.73
#3873C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3873C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873C6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873C6#FFFFFF#000000##FFFFFF
##3873C61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7AC9
Deuteranopia (green-blind)
#336DC4
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3873c6;
/* rgb */ color: rgb(56, 115, 198);
/* oklch */ color: oklch(55.8% 0.143 257.4);
Tailwind
colors: {
  custom: {
    50: '#809ad8',
    500: '#3873c6',
    950: '#000000',
  },
}
SCSS
$custom: #3873c6;
$custom-light: #809ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3873c6",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 198
  },
  "hsl": {
    "h": 215.07,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55835,
    "c": 0.14302,
    "h": 257.4
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#3873C6
secondary
#CDB28D
accent
#A149DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3873C6

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

Preview Lab → · Contrast checker → · Palette generator →

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