#3871AA#3871AA

#3871AA is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.108 H 250.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3871AA
RGBrgb(56, 113, 170)
HSLhsl(210, 50%, 44%)
HSVhsv(210, 67%, 67%)
CMYKcmyk(67.1%, 33.5%, 0%, 33.3%)
CIE-LABlab(46.38, 0.05, -35.98)
CIE-LCHlch(46.38, 35.98, 270.07°)
OKLaboklab(53.7% -0.036 -0.1019)
OKLCHoklch(53.7% 0.108 250.5)
XYZxyz(14.7890, 15.5518, 40.2448)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3871AA #AA7138
analogous
#38AAAA #3871AA #3838AA
triadic
#3871AA #AA3871 #71AA38
tetradic
#3871AA #AA38AA #AA7138 #38AA38
square
#3871AA #AA38AA #AA7138 #38AA38
split-complementary
#3871AA #AA3838 #AAAA38
monochromatic
#1A344E #29527C #3871AA #5790C8 #85AED7

Accessibility & contrast

On white

5.11
#3871AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3871AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3871AA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3871AA#FFFFFF#000000##FFFFFF
##3871AA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AC
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3871aa;
/* rgb */ color: rgb(56, 113, 170);
/* oklch */ color: oklch(53.7% 0.108 250.5);
Tailwind
colors: {
  custom: {
    50: '#7b99c3',
    500: '#3871aa',
    950: '#000000',
  },
}
SCSS
$custom: #3871aa;
$custom-light: #7b99c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3871aa",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 210,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.10809,
    "h": 250.5
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#3871AA
secondary
#C19F7D
accent
#944EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3871AA

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

Preview Lab → · Contrast checker → · Palette generator →

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