#3873CC#3873CC

#3873CC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.151 H 258.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3873CC
RGBrgb(56, 115, 204)
HSLhsl(216, 59%, 51%)
HSVhsv(216, 73%, 80%)
CMYKcmyk(72.5%, 43.6%, 0%, 20%)
CIE-LABlab(48.83, 11.12, -51.73)
CIE-LCHlch(48.83, 52.91, 282.14°)
OKLaboklab(56.22% -0.0299 -0.148)
OKLCHoklch(56.22% 0.151 258.6)
XYZxyz(18.6567, 17.4598, 59.5019)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873CC #CC9138
analogous
#38BDCC #3873CC #4738CC
triadic
#3873CC #CC3873 #73CC38
tetradic
#3873CC #CC38BD #CC9138 #38CC47
square
#3873CC #CC38BD #CC9138 #38CC47
split-complementary
#3873CC #CC4738 #BDCC38
monochromatic
#1C3D6E #29579E #3873CC #6995D8 #99B8E5

Accessibility & contrast

On white

4.67
#3873CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3873CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873CC#FFFFFF#000000##FFFFFF
##3873CC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3873cc;
/* rgb */ color: rgb(56, 115, 204);
/* oklch */ color: oklch(56.2% 0.151 258.6);
Tailwind
colors: {
  custom: {
    50: '#819adc',
    500: '#3873cc',
    950: '#000000',
  },
}
SCSS
$custom: #3873cc;
$custom-light: #819adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3873cc",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 216.081,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.15102,
    "h": 258.6
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#3873CC
secondary
#D1B78F
accent
#A445E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3873CC

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

Preview Lab → · Contrast checker → · Palette generator →

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