#3873D3#3873D3

#3873D3 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.160 H 259.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3873D3
RGBrgb(56, 115, 211)
HSLhsl(217, 64%, 52%)
HSVhsv(217, 73%, 83%)
CMYKcmyk(73.5%, 45.5%, 0%, 17.3%)
CIE-LABlab(49.26, 13.69, -55.04)
CIE-LCHlch(49.26, 56.72, 283.97°)
OKLaboklab(56.68% -0.0287 -0.1578)
OKLCHoklch(56.68% 0.16 259.7)
XYZxyz(19.5152, 17.8032, 64.0232)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873D3 #D39838
analogous
#38C1D3 #3873D3 #4A38D3
triadic
#3873D3 #D33873 #73D338
tetradic
#3873D3 #D338C1 #D39838 #38D34A
square
#3873D3 #D338C1 #D39838 #38D34A
split-complementary
#3873D3 #D34A38 #C1D338
monochromatic
#1A3D76 #2557A9 #3873D3 #6A96DE #9CBAE9

Accessibility & contrast

On white

4.60
#3873D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3873D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3873D3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873D3#FFFFFF#000000##FFFFFF
##3873D31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417DD7
Deuteranopia (green-blind)
#1F6ED1
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3873d3;
/* rgb */ color: rgb(56, 115, 211);
/* oklch */ color: oklch(56.7% 0.160 259.7);
Tailwind
colors: {
  custom: {
    50: '#829ae1',
    500: '#3873d3',
    950: '#000000',
  },
}
SCSS
$custom: #3873d3;
$custom-light: #829ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3873d3",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 211
  },
  "hsl": {
    "h": 217.161,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.16035,
    "h": 259.7
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#3873D3
secondary
#D5BB92
accent
#A841E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3873D3

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

Preview Lab → · Contrast checker → · Palette generator →

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