#3873AA#3873AA

#3873AA is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.2% C 0.106 H 249.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3873AA
RGBrgb(56, 115, 170)
HSLhsl(209, 50%, 44%)
HSVhsv(209, 67%, 67%)
CMYKcmyk(67.1%, 32.4%, 0%, 33.3%)
CIE-LABlab(46.98, -1.17, -35.04)
CIE-LCHlch(46.98, 35.06, 268.09°)
OKLaboklab(54.17% -0.0382 -0.0991)
OKLCHoklch(54.17% 0.106 249)
XYZxyz(15.0146, 16.0030, 40.3200)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873AA #AA6F38
analogous
#38AAA8 #3873AA #383AAA
triadic
#3873AA #AA3873 #73AA38
tetradic
#3873AA #A838AA #AA6F38 #3AAA38
square
#3873AA #A838AA #AA6F38 #3AAA38
split-complementary
#3873AA #AA383A #AAA838
monochromatic
#1A354E #29547C #3873AA #5792C8 #85B0D7

Accessibility & contrast

On white

5.00
#3873AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3873AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3873AA#FFFFFF#000000##FFFFFF
##3873AA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AC
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3873aa;
/* rgb */ color: rgb(56, 115, 170);
/* oklch */ color: oklch(54.2% 0.106 249.0);
Tailwind
colors: {
  custom: {
    50: '#7b9bc3',
    500: '#3873aa',
    950: '#000000',
  },
}
SCSS
$custom: #3873aa;
$custom-light: #7b9bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3873aa",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 170
  },
  "hsl": {
    "h": 208.947,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.10623,
    "h": 249
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#3873AA
secondary
#C19E7D
accent
#914EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3873AA

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

Preview Lab → · Contrast checker → · Palette generator →

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