#3872B3#3872B3

#3872B3 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.4% C 0.119 H 253.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3872B3
RGBrgb(56, 114, 179)
HSLhsl(212, 52%, 46%)
HSVhsv(212, 69%, 70%)
CMYKcmyk(68.7%, 36.3%, 0%, 29.8%)
CIE-LABlab(47.14, 2.65, -40.02)
CIE-LCHlch(47.14, 40.11, 273.79°)
OKLaboklab(54.45% -0.0346 -0.1137)
OKLCHoklch(54.45% 0.119 253.1)
XYZxyz(15.7819, 16.1284, 44.9205)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872B3 #B37938
analogous
#38AFB3 #3872B3 #3B38B3
triadic
#3872B3 #B33872 #72B338
tetradic
#3872B3 #B338AF #B37938 #38B33B
square
#3872B3 #B338AF #B37938 #38B33B
split-complementary
#3872B3 #B33B38 #AFB338
monochromatic
#1B3756 #295484 #3872B3 #5C91CC #8BB0DB

Accessibility & contrast

On white

4.97
#3872B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3872B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872B3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872B3#FFFFFF#000000##FFFFFF
##3872B31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B6
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3872b3;
/* rgb */ color: rgb(56, 114, 179);
/* oklch */ color: oklch(54.4% 0.119 253.1);
Tailwind
colors: {
  custom: {
    50: '#7c9aca',
    500: '#3872b3',
    950: '#000000',
  },
}
SCSS
$custom: #3872b3;
$custom-light: #7c9aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3872b3",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 179
  },
  "hsl": {
    "h": 211.707,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.11885,
    "h": 253.1
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#3872B3
secondary
#C5A582
accent
#984CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3872B3

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

Preview Lab → · Contrast checker → · Palette generator →

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