#3870A1#3870A1

#3870A1 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.098 H 247.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3870A1
RGBrgb(56, 112, 161)
HSLhsl(208, 48%, 43%)
HSVhsv(208, 65%, 63%)
CMYKcmyk(65.2%, 30.4%, 0%, 36.9%)
CIE-LABlab(45.64, -2.52, -31.87)
CIE-LCHlch(45.64, 31.97, 265.48°)
OKLaboklab(52.97% -0.0377 -0.09)
OKLCHoklch(52.97% 0.098 247.3)
XYZxyz(13.8557, 15.0009, 35.8766)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870A1 #A16938
analogous
#38A19D #3870A1 #383CA1
triadic
#3870A1 #A13870 #70A138
tetradic
#3870A1 #9D38A1 #A16938 #3CA138
square
#3870A1 #9D38A1 #A16938 #3CA138
split-complementary
#3870A1 #A1383C #A19D38
monochromatic
#183146 #285074 #3870A1 #538FC3 #80ACD3

Accessibility & contrast

On white

5.25
#3870A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3870A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870A1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870A1#FFFFFF#000000##FFFFFF
##3870A11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3870a1;
/* rgb */ color: rgb(56, 112, 161);
/* oklch */ color: oklch(53.0% 0.098 247.3);
Tailwind
colors: {
  custom: {
    50: '#7998bd',
    500: '#3870a1',
    950: '#000000',
  },
}
SCSS
$custom: #3870a1;
$custom-light: #7998bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3870a1",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 161
  },
  "hsl": {
    "h": 208,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.09753,
    "h": 247.3
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#3870A1
secondary
#BC9878
accent
#8F50D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3870A1

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

Preview Lab → · Contrast checker → · Palette generator →

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