#3870AF#3870AF

#3870AF is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.116 H 253.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3870AF
RGBrgb(56, 112, 175)
HSLhsl(212, 52%, 45%)
HSVhsv(212, 68%, 69%)
CMYKcmyk(68%, 36%, 0%, 31.4%)
CIE-LABlab(46.34, 2.44, -38.96)
CIE-LCHlch(46.34, 39.04, 273.59°)
OKLaboklab(53.76% -0.0336 -0.1106)
OKLCHoklch(53.76% 0.116 253.1)
XYZxyz(15.1601, 15.5227, 42.7464)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870AF #AF7738
analogous
#38ABAF #3870AF #3C38AF
triadic
#3870AF #AF3870 #70AF38
tetradic
#3870AF #AF38AB #AF7738 #38AF3C
square
#3870AF #AF38AB #AF7738 #38AF3C
split-complementary
#3870AF #AF3C38 #ABAF38
monochromatic
#1A3552 #295281 #3870AF #5A8FCA #88AED9

Accessibility & contrast

On white

5.12
#3870AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3870AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870AF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870AF#FFFFFF#000000##FFFFFF
##3870AF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3870af;
/* rgb */ color: rgb(56, 112, 175);
/* oklch */ color: oklch(53.8% 0.116 253.1);
Tailwind
colors: {
  custom: {
    50: '#7c98c7',
    500: '#3870af',
    950: '#000000',
  },
}
SCSS
$custom: #3870af;
$custom-light: #7c98c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3870af",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 211.765,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.11562,
    "h": 253.1
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#3870AF
secondary
#C3A380
accent
#984DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3870AF

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

Preview Lab → · Contrast checker → · Palette generator →

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