#3872AE#3872AE

#3872AE is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.112 H 251.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3872AE
RGBrgb(56, 114, 174)
HSLhsl(211, 51%, 45%)
HSVhsv(211, 68%, 68%)
CMYKcmyk(67.8%, 34.5%, 0%, 31.8%)
CIE-LABlab(46.88, 0.86, -37.52)
CIE-LCHlch(46.88, 37.53, 271.31°)
OKLaboklab(54.16% -0.036 -0.1064)
OKLCHoklch(54.16% 0.112 251.3)
XYZxyz(15.2854, 15.9298, 42.3054)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872AE #AE7438
analogous
#38ADAE #3872AE #3938AE
triadic
#3872AE #AE3872 #72AE38
tetradic
#3872AE #AE38AD #AE7438 #38AE39
square
#3872AE #AE38AD #AE7438 #38AE39
split-complementary
#3872AE #AE3938 #ADAE38
monochromatic
#1A3551 #295480 #3872AE #5991CA #88B0D9

Accessibility & contrast

On white

5.02
#3872AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3872AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872AE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872AE#FFFFFF#000000##FFFFFF
##3872AE1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5775B1
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3872ae;
/* rgb */ color: rgb(56, 114, 174);
/* oklch */ color: oklch(54.2% 0.112 251.3);
Tailwind
colors: {
  custom: {
    50: '#7b9ac6',
    500: '#3872ae',
    950: '#000000',
  },
}
SCSS
$custom: #3872ae;
$custom-light: #7b9ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3872ae",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 174
  },
  "hsl": {
    "h": 210.508,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.11231,
    "h": 251.3
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#3872AE
secondary
#C3A17F
accent
#954DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3872AE

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

Preview Lab → · Contrast checker → · Palette generator →

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