#3873C4#3873C4

#3873C4 is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.7% C 0.140 H 257.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3873C4
RGBrgb(56, 115, 196)
HSLhsl(215, 56%, 49%)
HSVhsv(215, 71%, 77%)
CMYKcmyk(71.4%, 41.3%, 0%, 23.1%)
CIE-LABlab(48.37, 8.20, -47.89)
CIE-LCHlch(48.37, 48.59, 279.71°)
OKLaboklab(55.71% -0.0315 -0.1368)
OKLCHoklch(55.71% 0.14 257)
XYZxyz(17.7218, 17.0858, 54.5778)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873C4 #C48938
analogous
#38B9C4 #3873C4 #4338C4
triadic
#3873C4 #C43873 #73C438
tetradic
#3873C4 #C438B9 #C48938 #38C443
square
#3873C4 #C438B9 #C48938 #38C443
split-complementary
#3873C4 #C44338 #B9C438
monochromatic
#1D3B65 #2A5794 #3873C4 #6694D3 #96B5E1

Accessibility & contrast

On white

4.75
#3873C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3873C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873C4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873C4#FFFFFF#000000##FFFFFF
##3873C41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#356DC2
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3873c4;
/* rgb */ color: rgb(56, 115, 196);
/* oklch */ color: oklch(55.7% 0.140 257.0);
Tailwind
colors: {
  custom: {
    50: '#7f9ad6',
    500: '#3873c4',
    950: '#000000',
  },
}
SCSS
$custom: #3873c4;
$custom-light: #7f9ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3873c4",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 196
  },
  "hsl": {
    "h": 214.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.14035,
    "h": 257
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#3873C4
secondary
#CCB18C
accent
#A049DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3873C4

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

Preview Lab → · Contrast checker → · Palette generator →

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