#3872C3#3872C3

#3872C3 is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.4% C 0.140 H 257.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3872C3
RGBrgb(56, 114, 195)
HSLhsl(215, 55%, 49%)
HSVhsv(215, 71%, 76%)
CMYKcmyk(71.3%, 41.5%, 0%, 23.5%)
CIE-LABlab(48.02, 8.45, -47.87)
CIE-LCHlch(48.02, 48.61, 280.02°)
OKLaboklab(55.42% -0.0308 -0.1367)
OKLCHoklch(55.42% 0.14 257.3)
XYZxyz(17.4949, 16.8136, 53.9425)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872C3 #C38938
analogous
#38B8C3 #3872C3 #4438C3
triadic
#3872C3 #C33872 #72C338
tetradic
#3872C3 #C338B8 #C38938 #38C344
square
#3872C3 #C338B8 #C38938 #38C344
split-complementary
#3872C3 #C34438 #B8C338
monochromatic
#1D3A64 #2A5693 #3872C3 #6593D3 #95B4E1

Accessibility & contrast

On white

4.81
#3872C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3872C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872C3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872C3#FFFFFF#000000##FFFFFF
##3872C31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C6
Deuteranopia (green-blind)
#346CC1
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3872c3;
/* rgb */ color: rgb(56, 114, 195);
/* oklch */ color: oklch(55.4% 0.140 257.3);
Tailwind
colors: {
  custom: {
    50: '#7f9ad5',
    500: '#3872c3',
    950: '#000000',
  },
}
SCSS
$custom: #3872c3;
$custom-light: #7f9ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3872c3",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 195
  },
  "hsl": {
    "h": 214.964,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55423,
    "c": 0.14012,
    "h": 257.3
  },
  "luminance": 0.16816
}

Semantic roles & 50–950 ramp

primary
#3872C3
secondary
#CCB18B
accent
#A049DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3872C3

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

Preview Lab → · Contrast checker → · Palette generator →

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