#3870A2#3870A2

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

Color values

HEX#3870A2
RGBrgb(56, 112, 162)
HSLhsl(208, 49%, 43%)
HSVhsv(208, 65%, 64%)
CMYKcmyk(65.4%, 30.9%, 0%, 36.5%)
CIE-LABlab(45.68, -2.17, -32.38)
CIE-LCHlch(45.68, 32.46, 266.16°)
OKLaboklab(53.02% -0.0374 -0.0914)
OKLCHoklch(53.02% 0.099 247.8)
XYZxyz(13.9442, 15.0363, 36.3429)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870A2 #A26A38
analogous
#38A29F #3870A2 #383BA2
triadic
#3870A2 #A23870 #70A238
tetradic
#3870A2 #9F38A2 #A26A38 #3BA238
square
#3870A2 #9F38A2 #A26A38 #3BA238
split-complementary
#3870A2 #A2383B #A29F38
monochromatic
#193147 #285175 #3870A2 #538FC4 #81ADD3

Accessibility & contrast

On white

5.24
#3870A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3870A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870A2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870A2#FFFFFF#000000##FFFFFF
##3870A21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3870a2;
/* rgb */ color: rgb(56, 112, 162);
/* oklch */ color: oklch(53.0% 0.099 247.8);
Tailwind
colors: {
  custom: {
    50: '#7998be',
    500: '#3870a2',
    950: '#000000',
  },
}
SCSS
$custom: #3870a2;
$custom-light: #7998be;
$custom-dark: #000000;
JSON
{
  "hex": "#3870a2",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 208.302,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.09879,
    "h": 247.8
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#3870A2
secondary
#BD9979
accent
#9050D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3870A2

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

Preview Lab → · Contrast checker → · Palette generator →

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