#3872AA#3872AA

#3872AA is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.9% C 0.107 H 249.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3872AA
RGBrgb(56, 114, 170)
HSLhsl(209, 50%, 44%)
HSVhsv(209, 67%, 67%)
CMYKcmyk(67.1%, 32.9%, 0%, 33.3%)
CIE-LABlab(46.68, -0.56, -35.51)
CIE-LCHlch(46.68, 35.51, 269.09°)
OKLaboklab(53.94% -0.0371 -0.1005)
OKLCHoklch(53.94% 0.107 249.7)
XYZxyz(14.9012, 15.7761, 40.2822)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872AA #AA7038
analogous
#38AAA9 #3872AA #3839AA
triadic
#3872AA #AA3872 #72AA38
tetradic
#3872AA #A938AA #AA7038 #39AA38
square
#3872AA #A938AA #AA7038 #39AA38
split-complementary
#3872AA #AA3839 #AAA938
monochromatic
#1A344E #29537C #3872AA #5791C8 #85AFD7

Accessibility & contrast

On white

5.05
#3872AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3872AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3872AA#FFFFFF#000000##FFFFFF
##3872AA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AC
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3872aa;
/* rgb */ color: rgb(56, 114, 170);
/* oklch */ color: oklch(53.9% 0.107 249.7);
Tailwind
colors: {
  custom: {
    50: '#7b9ac3',
    500: '#3872aa',
    950: '#000000',
  },
}
SCSS
$custom: #3872aa;
$custom-light: #7b9ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#3872aa",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 209.474,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.10715,
    "h": 249.7
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#3872AA
secondary
#C19E7D
accent
#934EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3872AA

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

Preview Lab → · Contrast checker → · Palette generator →

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