#3872BF#3872BF

#3872BF is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.2% C 0.135 H 256.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3872BF
RGBrgb(56, 114, 191)
HSLhsl(214, 55%, 48%)
HSVhsv(214, 71%, 75%)
CMYKcmyk(70.7%, 40.3%, 0%, 25.1%)
CIE-LABlab(47.80, 6.99, -45.93)
CIE-LCHlch(47.80, 46.46, 278.66°)
OKLaboklab(55.17% -0.0317 -0.131)
OKLCHoklch(55.17% 0.135 256.4)
XYZxyz(17.0487, 16.6351, 51.5925)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872BF #BF8538
analogous
#38B5BF #3872BF #4138BF
triadic
#3872BF #BF3872 #72BF38
tetradic
#3872BF #BF38B5 #BF8538 #38BF41
square
#3872BF #BF38B5 #BF8538 #38BF41
split-complementary
#3872BF #BF4138 #B5BF38
monochromatic
#1C3A60 #2A5690 #3872BF #6392D1 #92B3DF

Accessibility & contrast

On white

4.85
#3872BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3872BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872BF#FFFFFF#000000##FFFFFF
##3872BF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3872bf;
/* rgb */ color: rgb(56, 114, 191);
/* oklch */ color: oklch(55.2% 0.135 256.4);
Tailwind
colors: {
  custom: {
    50: '#7f9ad3',
    500: '#3872bf',
    950: '#000000',
  },
}
SCSS
$custom: #3872bf;
$custom-light: #7f9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3872bf",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 214.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.13478,
    "h": 256.4
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#3872BF
secondary
#CAAE89
accent
#9E4ADE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3872BF

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

Preview Lab → · Contrast checker → · Palette generator →

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