#3873C2#3873C2

#3873C2 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.6% C 0.138 H 256.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3873C2
RGBrgb(56, 115, 194)
HSLhsl(214, 55%, 49%)
HSVhsv(214, 71%, 76%)
CMYKcmyk(71.1%, 40.7%, 0%, 23.9%)
CIE-LABlab(48.25, 7.47, -46.93)
CIE-LCHlch(48.25, 47.52, 279.04°)
OKLaboklab(55.58% -0.032 -0.1339)
OKLCHoklch(55.58% 0.138 256.6)
XYZxyz(17.4957, 16.9954, 53.3869)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873C2 #C28738
analogous
#38B8C2 #3873C2 #4238C2
triadic
#3873C2 #C23873 #73C238
tetradic
#3873C2 #C238B8 #C28738 #38C242
square
#3873C2 #C238B8 #C28738 #38C242
split-complementary
#3873C2 #C24238 #B8C238
monochromatic
#1D3B63 #2A5793 #3873C2 #6594D2 #94B5E0

Accessibility & contrast

On white

4.77
#3873C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3873C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3873C2#FFFFFF#000000##FFFFFF
##3873C21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C5
Deuteranopia (green-blind)
#386DC0
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3873c2;
/* rgb */ color: rgb(56, 115, 194);
/* oklch */ color: oklch(55.6% 0.138 256.6);
Tailwind
colors: {
  custom: {
    50: '#7f9ad5',
    500: '#3873c2',
    950: '#000000',
  },
}
SCSS
$custom: #3873c2;
$custom-light: #7f9ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3873c2",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 194
  },
  "hsl": {
    "h": 214.348,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.13767,
    "h": 256.6
  },
  "luminance": 0.16997
}

Semantic roles & 50–950 ramp

primary
#3873C2
secondary
#CBB08A
accent
#9F49DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3873C2

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

Preview Lab → · Contrast checker → · Palette generator →

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