#3873D7#3873D7

#3873D7 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.166 H 260.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3873D7
RGBrgb(56, 115, 215)
HSLhsl(218, 67%, 53%)
HSVhsv(218, 74%, 84%)
CMYKcmyk(74%, 46.5%, 0%, 15.7%)
CIE-LABlab(49.50, 15.16, -56.92)
CIE-LCHlch(49.50, 58.90, 284.92°)
OKLaboklab(56.95% -0.028 -0.1633)
OKLCHoklch(56.95% 0.166 260.3)
XYZxyz(20.0229, 18.0063, 66.6971)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873D7 #D79C38
analogous
#38C2D7 #3873D7 #4C38D7
triadic
#3873D7 #D73873 #73D738
tetradic
#3873D7 #D738C2 #D79C38 #38D74C
square
#3873D7 #D738C2 #D79C38 #38D74C
split-complementary
#3873D7 #D74C38 #C2D738
monochromatic
#193E7C #2357AF #3873D7 #6B97E1 #9EBBEB

Accessibility & contrast

On white

4.56
#3873D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#3873D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3873D7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873D7#FFFFFF#000000##000000
##3873D71.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDB
Deuteranopia (green-blind)
#146FD5
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3873d7;
/* rgb */ color: rgb(56, 115, 215);
/* oklch */ color: oklch(57.0% 0.166 260.3);
Tailwind
colors: {
  custom: {
    50: '#839ae4',
    500: '#3873d7',
    950: '#000000',
  },
}
SCSS
$custom: #3873d7;
$custom-light: #839ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#3873d7",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 215
  },
  "hsl": {
    "h": 217.736,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.16567,
    "h": 260.3
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#3873D7
secondary
#D8BE93
accent
#AA3EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3873D7

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

Preview Lab → · Contrast checker → · Palette generator →

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