#3873B2#3873B2

#3873B2 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.6% C 0.117 H 252.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3873B2
RGBrgb(56, 115, 178)
HSLhsl(211, 52%, 46%)
HSVhsv(211, 69%, 70%)
CMYKcmyk(68.5%, 35.4%, 0%, 30.2%)
CIE-LABlab(47.38, 1.68, -39.06)
CIE-LCHlch(47.38, 39.09, 272.46°)
OKLaboklab(54.62% -0.0359 -0.1109)
OKLCHoklch(54.62% 0.117 252.1)
XYZxyz(15.7945, 16.3149, 44.4276)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873B2 #B27738
analogous
#38B0B2 #3873B2 #3A38B2
triadic
#3873B2 #B23873 #73B238
tetradic
#3873B2 #B238B0 #B27738 #38B23A
square
#3873B2 #B238B0 #B27738 #38B23A
split-complementary
#3873B2 #B23A38 #B0B238
monochromatic
#1B3755 #295583 #3873B2 #5C92CC #8AB1DA

Accessibility & contrast

On white

4.93
#3873B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3873B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3873B2#FFFFFF#000000##FFFFFF
##3873B21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3873b2;
/* rgb */ color: rgb(56, 115, 178);
/* oklch */ color: oklch(54.6% 0.117 252.1);
Tailwind
colors: {
  custom: {
    50: '#7c9ac9',
    500: '#3873b2',
    950: '#000000',
  },
}
SCSS
$custom: #3873b2;
$custom-light: #7c9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3873b2",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 210.984,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.11652,
    "h": 252.1
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#3873B2
secondary
#C5A481
accent
#964CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3873B2

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

Preview Lab → · Contrast checker → · Palette generator →

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