#3873CB#3873CB

#3873CB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.150 H 258.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3873CB
RGBrgb(56, 115, 203)
HSLhsl(216, 59%, 51%)
HSVhsv(216, 72%, 80%)
CMYKcmyk(72.4%, 43.3%, 0%, 20.4%)
CIE-LABlab(48.77, 10.76, -51.25)
CIE-LCHlch(48.77, 52.37, 281.85°)
OKLaboklab(56.16% -0.0301 -0.1466)
OKLCHoklch(56.16% 0.15 258.4)
XYZxyz(18.5372, 17.4120, 58.8722)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873CB #CB9038
analogous
#38BDCB #3873CB #4638CB
triadic
#3873CB #CB3873 #73CB38
tetradic
#3873CB #CB38BD #CB9038 #38CB46
square
#3873CB #CB38BD #CB9038 #38CB46
split-complementary
#3873CB #CB4638 #BDCB38
monochromatic
#1C3C6C #29579D #3873CB #6995D8 #99B7E4

Accessibility & contrast

On white

4.68
#3873CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3873CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873CB#FFFFFF#000000##FFFFFF
##3873CB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3873cb;
/* rgb */ color: rgb(56, 115, 203);
/* oklch */ color: oklch(56.2% 0.150 258.4);
Tailwind
colors: {
  custom: {
    50: '#819adb',
    500: '#3873cb',
    950: '#000000',
  },
}
SCSS
$custom: #3873cb;
$custom-light: #819adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3873cb",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 215.918,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.14969,
    "h": 258.4
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#3873CB
secondary
#D0B68F
accent
#A346E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3873CB

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

Preview Lab → · Contrast checker → · Palette generator →

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