#3872B2#3872B2

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

Color values

HEX#3872B2
RGBrgb(56, 114, 178)
HSLhsl(211, 52%, 46%)
HSVhsv(211, 69%, 70%)
CMYKcmyk(68.5%, 36%, 0%, 30.2%)
CIE-LABlab(47.09, 2.29, -39.52)
CIE-LCHlch(47.09, 39.59, 273.32°)
OKLaboklab(54.39% -0.0349 -0.1122)
OKLCHoklch(54.39% 0.118 252.7)
XYZxyz(15.6811, 16.0881, 44.3897)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872B2 #B27838
analogous
#38AFB2 #3872B2 #3B38B2
triadic
#3872B2 #B23872 #72B238
tetradic
#3872B2 #B238AF #B27838 #38B23B
square
#3872B2 #B238AF #B27838 #38B23B
split-complementary
#3872B2 #B23B38 #AFB238
monochromatic
#1B3655 #295483 #3872B2 #5C91CC #8AB0DA

Accessibility & contrast

On white

4.98
#3872B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3872B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872B2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872B2#FFFFFF#000000##FFFFFF
##3872B21.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)
#5576B5
Deuteranopia (green-blind)
#446AB1
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3872b2;
/* rgb */ color: rgb(56, 114, 178);
/* oklch */ color: oklch(54.4% 0.118 252.7);
Tailwind
colors: {
  custom: {
    50: '#7c9ac9',
    500: '#3872b2',
    950: '#000000',
  },
}
SCSS
$custom: #3872b2;
$custom-light: #7c9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3872b2",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 211.475,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.11753,
    "h": 252.7
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#3872B2
secondary
#C5A581
accent
#974CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3872B2

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

Preview Lab → · Contrast checker → · Palette generator →

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