#3873C8#3873C8

#3873C8 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.0% C 0.146 H 257.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3873C8
RGBrgb(56, 115, 200)
HSLhsl(215, 57%, 50%)
HSVhsv(215, 72%, 78%)
CMYKcmyk(72%, 42.5%, 0%, 21.6%)
CIE-LABlab(48.60, 9.66, -49.82)
CIE-LCHlch(48.60, 50.75, 280.97°)
OKLaboklab(55.96% -0.0307 -0.1424)
OKLCHoklch(55.96% 0.146 257.8)
XYZxyz(18.1832, 17.2704, 57.0076)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873C8 #C88D38
analogous
#38BBC8 #3873C8 #4538C8
triadic
#3873C8 #C83873 #73C838
tetradic
#3873C8 #C838BB #C88D38 #38C845
square
#3873C8 #C838BB #C88D38 #38C845
split-complementary
#3873C8 #C84538 #BBC838
monochromatic
#1D3C69 #2A5799 #3873C8 #6895D5 #98B6E3

Accessibility & contrast

On white

4.71
#3873C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3873C8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873C8#FFFFFF#000000##FFFFFF
##3873C81.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#316DC6
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3873c8;
/* rgb */ color: rgb(56, 115, 200);
/* oklch */ color: oklch(56.0% 0.146 257.8);
Tailwind
colors: {
  custom: {
    50: '#809ad9',
    500: '#3873c8',
    950: '#000000',
  },
}
SCSS
$custom: #3873c8;
$custom-light: #809ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3873c8",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 215.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.14568,
    "h": 257.8
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#3873C8
secondary
#CEB48E
accent
#A248E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3873C8

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

Preview Lab → · Contrast checker → · Palette generator →

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