#3873AC#3873AC

#3873AC is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.3% C 0.109 H 249.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3873AC
RGBrgb(56, 115, 172)
HSLhsl(209, 51%, 45%)
HSVhsv(209, 67%, 67%)
CMYKcmyk(67.4%, 33.1%, 0%, 32.5%)
CIE-LABlab(47.08, -0.46, -36.05)
CIE-LCHlch(47.08, 36.05, 269.27°)
OKLaboklab(54.28% -0.0376 -0.1021)
OKLCHoklch(54.28% 0.109 249.8)
XYZxyz(15.2052, 16.0792, 41.3240)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873AC #AC7138
analogous
#38ACAB #3873AC #3839AC
triadic
#3873AC #AC3873 #73AC38
tetradic
#3873AC #AB38AC #AC7138 #39AC38
square
#3873AC #AB38AC #AC7138 #39AC38
split-complementary
#3873AC #AC3839 #ACAB38
monochromatic
#1A3550 #29547E #3873AC #5892C9 #87B0D8

Accessibility & contrast

On white

4.98
#3873AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3873AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873AC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873AC#FFFFFF#000000##FFFFFF
##3873AC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3873ac;
/* rgb */ color: rgb(56, 115, 172);
/* oklch */ color: oklch(54.3% 0.109 249.8);
Tailwind
colors: {
  custom: {
    50: '#7b9bc5',
    500: '#3873ac',
    950: '#000000',
  },
}
SCSS
$custom: #3873ac;
$custom-light: #7b9bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3873ac",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 172
  },
  "hsl": {
    "h": 209.483,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.10877,
    "h": 249.8
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#3873AC
secondary
#C29F7E
accent
#934DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3873AC

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

Preview Lab → · Contrast checker → · Palette generator →

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