#3872B7#3872B7

#3872B7 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.7% C 0.124 H 254.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3872B7
RGBrgb(56, 114, 183)
HSLhsl(213, 53%, 47%)
HSVhsv(213, 69%, 72%)
CMYKcmyk(69.4%, 37.7%, 0%, 28.2%)
CIE-LABlab(47.36, 4.09, -42.00)
CIE-LCHlch(47.36, 42.20, 275.56°)
OKLaboklab(54.69% -0.0336 -0.1195)
OKLCHoklch(54.69% 0.124 254.3)
XYZxyz(16.1923, 16.2926, 47.0820)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872B7 #B77D38
analogous
#38B2B7 #3872B7 #3D38B7
triadic
#3872B7 #B73872 #72B738
tetradic
#3872B7 #B738B2 #B77D38 #38B73D
square
#3872B7 #B738B2 #B77D38 #38B73D
split-complementary
#3872B7 #B73D38 #B2B738
monochromatic
#1B3859 #2A5588 #3872B7 #5E91CE #8DB1DC

Accessibility & contrast

On white

4.93
#3872B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3872B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872B7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872B7#FFFFFF#000000##FFFFFF
##3872B71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5377BA
Deuteranopia (green-blind)
#406BB6
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3872b7;
/* rgb */ color: rgb(56, 114, 183);
/* oklch */ color: oklch(54.7% 0.124 254.3);
Tailwind
colors: {
  custom: {
    50: '#7d9acd',
    500: '#3872b7',
    950: '#000000',
  },
}
SCSS
$custom: #3872b7;
$custom-light: #7d9acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3872b7",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 183
  },
  "hsl": {
    "h": 212.598,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.12413,
    "h": 254.3
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#3872B7
secondary
#C7A884
accent
#9A4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3872B7

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

Preview Lab → · Contrast checker → · Palette generator →

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