#3872AC#3872AC

#3872AC is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.0% C 0.110 H 250.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3872AC
RGBrgb(56, 114, 172)
HSLhsl(210, 51%, 45%)
HSVhsv(210, 67%, 67%)
CMYKcmyk(67.4%, 33.7%, 0%, 32.5%)
CIE-LABlab(46.78, 0.15, -36.52)
CIE-LCHlch(46.78, 36.52, 270.23°)
OKLaboklab(54.05% -0.0365 -0.1035)
OKLCHoklch(54.05% 0.11 250.6)
XYZxyz(15.0918, 15.8524, 41.2862)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872AC #AC7238
analogous
#38ACAC #3872AC #3838AC
triadic
#3872AC #AC3872 #72AC38
tetradic
#3872AC #AC38AC #AC7238 #38AC38
square
#3872AC #AC38AC #AC7238 #38AC38
split-complementary
#3872AC #AC3838 #ACAC38
monochromatic
#1A3550 #29537E #3872AC #5891C9 #87AFD8

Accessibility & contrast

On white

5.04
#3872AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3872AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872AC#FFFFFF#000000##FFFFFF
##3872AC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3872ac;
/* rgb */ color: rgb(56, 114, 172);
/* oklch */ color: oklch(54.0% 0.110 250.6);
Tailwind
colors: {
  custom: {
    50: '#7b9ac5',
    500: '#3872ac',
    950: '#000000',
  },
}
SCSS
$custom: #3872ac;
$custom-light: #7b9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3872ac",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 172
  },
  "hsl": {
    "h": 210,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.10972,
    "h": 250.6
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#3872AC
secondary
#C2A07E
accent
#944DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3872AC

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

Preview Lab → · Contrast checker → · Palette generator →

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