#3872AF#3872AF

#3872AF is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.2% C 0.114 H 251.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3872AF
RGBrgb(56, 114, 175)
HSLhsl(211, 52%, 45%)
HSVhsv(211, 68%, 69%)
CMYKcmyk(68%, 34.9%, 0%, 31.4%)
CIE-LABlab(46.93, 1.22, -38.02)
CIE-LCHlch(46.93, 38.04, 271.83°)
OKLaboklab(54.22% -0.0357 -0.1079)
OKLCHoklch(54.22% 0.114 251.7)
XYZxyz(15.3832, 15.9689, 42.8207)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872AF #AF7538
analogous
#38ADAF #3872AF #3938AF
triadic
#3872AF #AF3872 #72AF38
tetradic
#3872AF #AF38AD #AF7538 #38AF39
square
#3872AF #AF38AD #AF7538 #38AF39
split-complementary
#3872AF #AF3938 #ADAF38
monochromatic
#1A3652 #295481 #3872AF #5A91CA #88B0D9

Accessibility & contrast

On white

5.01
#3872AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3872AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3872AF#FFFFFF#000000##FFFFFF
##3872AF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5775B2
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3872af;
/* rgb */ color: rgb(56, 114, 175);
/* oklch */ color: oklch(54.2% 0.114 251.7);
Tailwind
colors: {
  custom: {
    50: '#7c9ac7',
    500: '#3872af',
    950: '#000000',
  },
}
SCSS
$custom: #3872af;
$custom-light: #7c9ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3872af",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 175
  },
  "hsl": {
    "h": 210.756,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.11361,
    "h": 251.7
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#3872AF
secondary
#C3A280
accent
#964DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3872AF

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

Preview Lab → · Contrast checker → · Palette generator →

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