#3873B8#3873B8

#3873B8 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.124 H 254.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3873B8
RGBrgb(56, 115, 184)
HSLhsl(212, 53%, 47%)
HSVhsv(212, 70%, 72%)
CMYKcmyk(69.6%, 37.5%, 0%, 27.8%)
CIE-LABlab(47.70, 3.84, -42.03)
CIE-LCHlch(47.70, 42.21, 275.22°)
OKLaboklab(54.97% -0.0343 -0.1196)
OKLCHoklch(54.97% 0.124 254)
XYZxyz(16.4102, 16.5612, 47.6699)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873B8 #B87D38
analogous
#38B3B8 #3873B8 #3D38B8
triadic
#3873B8 #B83873 #73B838
tetradic
#3873B8 #B838B3 #B87D38 #38B83D
square
#3873B8 #B838B3 #B87D38 #38B83D
split-complementary
#3873B8 #B83D38 #B3B838
monochromatic
#1B385A #2A5689 #3873B8 #5F92CE #8EB2DD

Accessibility & contrast

On white

4.87
#3873B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3873B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3873B8#FFFFFF#000000##FFFFFF
##3873B81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BB
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3873b8;
/* rgb */ color: rgb(56, 115, 184);
/* oklch */ color: oklch(55.0% 0.124 254.0);
Tailwind
colors: {
  custom: {
    50: '#7d9acd',
    500: '#3873b8',
    950: '#000000',
  },
}
SCSS
$custom: #3873b8;
$custom-light: #7d9acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3873b8",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 184
  },
  "hsl": {
    "h": 212.344,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.1244,
    "h": 254
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#3873B8
secondary
#C7A885
accent
#9A4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3873B8

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

Preview Lab → · Contrast checker → · Palette generator →

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