#3872BB#3872BB

#3872BB is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 54.9% C 0.129 H 255.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3872BB
RGBrgb(56, 114, 187)
HSLhsl(213, 54%, 48%)
HSVhsv(213, 70%, 73%)
CMYKcmyk(70.1%, 39%, 0%, 26.7%)
CIE-LABlab(47.57, 5.54, -43.97)
CIE-LCHlch(47.57, 44.32, 277.18°)
OKLaboklab(54.93% -0.0326 -0.1253)
OKLCHoklch(54.93% 0.129 255.4)
XYZxyz(16.6146, 16.4615, 49.3058)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872BB #BB8138
analogous
#38B3BB #3872BB #4038BB
triadic
#3872BB #BB3872 #72BB38
tetradic
#3872BB #BB38B3 #BB8138 #38BB40
square
#3872BB #BB38B3 #BB8138 #38BB40
split-complementary
#3872BB #BB4038 #B3BB38
monochromatic
#1C395D #2A558C #3872BB #6192D0 #90B2DE

Accessibility & contrast

On white

4.89
#3872BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3872BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872BB#FFFFFF#000000##FFFFFF
##3872BB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5177BE
Deuteranopia (green-blind)
#3D6BBA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3872bb;
/* rgb */ color: rgb(56, 114, 187);
/* oklch */ color: oklch(54.9% 0.129 255.4);
Tailwind
colors: {
  custom: {
    50: '#7e9ad0',
    500: '#3872bb',
    950: '#000000',
  },
}
SCSS
$custom: #3872bb;
$custom-light: #7e9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3872bb",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 213.435,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.12945,
    "h": 255.4
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#3872BB
secondary
#C8AB86
accent
#9C4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3872BB

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

Preview Lab → · Contrast checker → · Palette generator →

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