#3873AB#3873AB

#3873AB is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.2% C 0.107 H 249.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3873AB
RGBrgb(56, 115, 171)
HSLhsl(209, 51%, 45%)
HSVhsv(209, 67%, 67%)
CMYKcmyk(67.3%, 32.7%, 0%, 32.9%)
CIE-LABlab(47.03, -0.81, -35.54)
CIE-LCHlch(47.03, 35.55, 268.69°)
OKLaboklab(54.23% -0.0378 -0.1006)
OKLCHoklch(54.23% 0.107 249.4)
XYZxyz(15.1096, 16.0409, 40.8201)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873AB #AB7038
analogous
#38ABAA #3873AB #383AAB
triadic
#3873AB #AB3873 #73AB38
tetradic
#3873AB #AA38AB #AB7038 #3AAB38
square
#3873AB #AA38AB #AB7038 #3AAB38
split-complementary
#3873AB #AB383A #ABAA38
monochromatic
#1A354F #29547D #3873AB #5892C8 #86B0D7

Accessibility & contrast

On white

4.99
#3873AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3873AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873AB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873AB#FFFFFF#000000##FFFFFF
##3873AB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AD
Deuteranopia (green-blind)
#4A6BAA
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3873ab;
/* rgb */ color: rgb(56, 115, 171);
/* oklch */ color: oklch(54.2% 0.107 249.4);
Tailwind
colors: {
  custom: {
    50: '#7b9bc4',
    500: '#3873ab',
    950: '#000000',
  },
}
SCSS
$custom: #3873ab;
$custom-light: #7b9bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3873ab",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 171
  },
  "hsl": {
    "h": 209.217,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.10749,
    "h": 249.4
  },
  "luminance": 0.16042
}

Semantic roles & 50–950 ramp

primary
#3873AB
secondary
#C19F7D
accent
#924EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3873AB

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

Preview Lab → · Contrast checker → · Palette generator →

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