#3873BB#3873BB

#3873BB is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.2% C 0.128 H 254.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3873BB
RGBrgb(56, 115, 187)
HSLhsl(213, 54%, 48%)
HSVhsv(213, 70%, 73%)
CMYKcmyk(70.1%, 38.5%, 0%, 26.7%)
CIE-LABlab(47.86, 4.92, -43.51)
CIE-LCHlch(47.86, 43.79, 276.46°)
OKLaboklab(55.15% -0.0336 -0.1239)
OKLCHoklch(55.15% 0.128 254.8)
XYZxyz(16.7280, 16.6883, 49.3436)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873BB #BB8038
analogous
#38B4BB #3873BB #3F38BB
triadic
#3873BB #BB3873 #73BB38
tetradic
#3873BB #BB38B4 #BB8038 #38BB3F
square
#3873BB #BB38B4 #BB8038 #38BB3F
split-complementary
#3873BB #BB3F38 #B4BB38
monochromatic
#1C395D #2A568C #3873BB #6193D0 #90B3DE

Accessibility & contrast

On white

4.84
#3873BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3873BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3873BB#FFFFFF#000000##FFFFFF
##3873BB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3873bb;
/* rgb */ color: rgb(56, 115, 187);
/* oklch */ color: oklch(55.2% 0.128 254.8);
Tailwind
colors: {
  custom: {
    50: '#7e9ad0',
    500: '#3873bb',
    950: '#000000',
  },
}
SCSS
$custom: #3873bb;
$custom-light: #7e9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3873bb",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 212.977,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.12837,
    "h": 254.8
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3873BB

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

Preview Lab → · Contrast checker → · Palette generator →

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