#3873BA#3873BA

#3873BA is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.1% C 0.127 H 254.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3873BA
RGBrgb(56, 115, 186)
HSLhsl(213, 54%, 47%)
HSVhsv(213, 70%, 73%)
CMYKcmyk(69.9%, 38.2%, 0%, 27.1%)
CIE-LABlab(47.81, 4.56, -43.02)
CIE-LCHlch(47.81, 43.26, 276.05°)
OKLaboklab(55.09% -0.0338 -0.1225)
OKLCHoklch(55.09% 0.127 254.6)
XYZxyz(16.6213, 16.6456, 48.7818)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873BA #BA7F38
analogous
#38B4BA #3873BA #3E38BA
triadic
#3873BA #BA3873 #73BA38
tetradic
#3873BA #BA38B4 #BA7F38 #38BA3E
square
#3873BA #BA38B4 #BA7F38 #38BA3E
split-complementary
#3873BA #BA3E38 #B4BA38
monochromatic
#1C395C #2A568B #3873BA #6092CF #8FB3DD

Accessibility & contrast

On white

4.85
#3873BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3873BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3873BA#FFFFFF#000000##FFFFFF
##3873BA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5378BD
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3873ba;
/* rgb */ color: rgb(56, 115, 186);
/* oklch */ color: oklch(55.1% 0.127 254.6);
Tailwind
colors: {
  custom: {
    50: '#7e9acf',
    500: '#3873ba',
    950: '#000000',
  },
}
SCSS
$custom: #3873ba;
$custom-light: #7e9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3873ba",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 186
  },
  "hsl": {
    "h": 212.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55094,
    "c": 0.12705,
    "h": 254.6
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#3873BA
secondary
#C8AA86
accent
#9B4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3873BA

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

Preview Lab → · Contrast checker → · Palette generator →

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