#3873AF#3873AF

#3873AF is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.5% C 0.113 H 251.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3873AF
RGBrgb(56, 115, 175)
HSLhsl(210, 52%, 45%)
HSVhsv(210, 68%, 69%)
CMYKcmyk(68%, 34.3%, 0%, 31.4%)
CIE-LABlab(47.23, 0.61, -37.56)
CIE-LCHlch(47.23, 37.56, 270.93°)
OKLaboklab(54.45% -0.0367 -0.1065)
OKLCHoklch(54.45% 0.113 251)
XYZxyz(15.4966, 16.1958, 42.8585)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873AF #AF7438
analogous
#38AEAF #3873AF #3838AF
triadic
#3873AF #AF3873 #73AF38
tetradic
#3873AF #AF38AE #AF7438 #38AF38
square
#3873AF #AF38AE #AF7438 #38AF38
split-complementary
#3873AF #AF3838 #AEAF38
monochromatic
#1A3652 #295581 #3873AF #5A92CA #88B0D9

Accessibility & contrast

On white

4.95
#3873AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3873AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873AF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873AF#FFFFFF#000000##FFFFFF
##3873AF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3873af;
/* rgb */ color: rgb(56, 115, 175);
/* oklch */ color: oklch(54.5% 0.113 251.0);
Tailwind
colors: {
  custom: {
    50: '#7c9bc7',
    500: '#3873af',
    950: '#000000',
  },
}
SCSS
$custom: #3873af;
$custom-light: #7c9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3873af",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 210.252,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.11263,
    "h": 251
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#3873AF
secondary
#C3A280
accent
#944DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3873AF

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

Preview Lab → · Contrast checker → · Palette generator →

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