#3873CD#3873CD

#3873CD is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.3% C 0.152 H 258.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3873CD
RGBrgb(56, 115, 205)
HSLhsl(216, 60%, 51%)
HSVhsv(216, 73%, 80%)
CMYKcmyk(72.7%, 43.9%, 0%, 19.6%)
CIE-LABlab(48.89, 11.49, -52.21)
CIE-LCHlch(48.89, 53.46, 282.41°)
OKLaboklab(56.29% -0.0297 -0.1494)
OKLCHoklch(56.29% 0.152 258.7)
XYZxyz(18.7771, 17.5079, 60.1355)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873CD #CD9238
analogous
#38BDCD #3873CD #4738CD
triadic
#3873CD #CD3873 #73CD38
tetradic
#3873CD #CD38BD #CD9238 #38CD47
square
#3873CD #CD38BD #CD9238 #38CD47
split-complementary
#3873CD #CD4738 #BDCD38
monochromatic
#1C3D6F #2857A0 #3873CD #6995D9 #9AB8E6

Accessibility & contrast

On white

4.66
#3873CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3873CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3873CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873CD#FFFFFF#000000##FFFFFF
##3873CD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467CD0
Deuteranopia (green-blind)
#2A6ECB
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3873cd;
/* rgb */ color: rgb(56, 115, 205);
/* oklch */ color: oklch(56.3% 0.152 258.7);
Tailwind
colors: {
  custom: {
    50: '#819add',
    500: '#3873cd',
    950: '#000000',
  },
}
SCSS
$custom: #3873cd;
$custom-light: #819add;
$custom-dark: #000000;
JSON
{
  "hex": "#3873cd",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 216.242,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.15236,
    "h": 258.7
  },
  "luminance": 0.1751
}

Semantic roles & 50–950 ramp

primary
#3873CD
secondary
#D1B78F
accent
#A445E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3873CD

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

Preview Lab → · Contrast checker → · Palette generator →

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