#3870AC#3870AC

#3870AC is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.112 H 252.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3870AC
RGBrgb(56, 112, 172)
HSLhsl(211, 51%, 45%)
HSVhsv(211, 67%, 67%)
CMYKcmyk(67.4%, 34.9%, 0%, 32.5%)
CIE-LABlab(46.19, 1.37, -37.46)
CIE-LCHlch(46.19, 37.48, 272.09°)
OKLaboklab(53.58% -0.0344 -0.1062)
OKLCHoklch(53.58% 0.112 252)
XYZxyz(14.8687, 15.4061, 41.2118)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870AC #AC7438
analogous
#38AAAC #3870AC #3A38AC
triadic
#3870AC #AC3870 #70AC38
tetradic
#3870AC #AC38AA #AC7438 #38AC3A
square
#3870AC #AC38AA #AC7438 #38AC3A
split-complementary
#3870AC #AC3A38 #AAAC38
monochromatic
#1A3450 #29527E #3870AC #588FC9 #87AED8

Accessibility & contrast

On white

5.15
#3870AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3870AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870AC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870AC#FFFFFF#000000##FFFFFF
##3870AC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5673AF
Deuteranopia (green-blind)
#4568AB
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3870ac;
/* rgb */ color: rgb(56, 112, 172);
/* oklch */ color: oklch(53.6% 0.112 252.0);
Tailwind
colors: {
  custom: {
    50: '#7b98c5',
    500: '#3870ac',
    950: '#000000',
  },
}
SCSS
$custom: #3870ac;
$custom-light: #7b98c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3870ac",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 172
  },
  "hsl": {
    "h": 211.034,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.11168,
    "h": 252
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#3870AC
secondary
#C2A17E
accent
#964DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3870AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3870AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva