#3873D9#3873D9

#3873D9 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.1% C 0.168 H 260.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3873D9
RGBrgb(56, 115, 217)
HSLhsl(218, 68%, 54%)
HSVhsv(218, 74%, 85%)
CMYKcmyk(74.2%, 47%, 0%, 14.9%)
CIE-LABlab(49.63, 15.90, -57.85)
CIE-LCHlch(49.63, 60.00, 285.37°)
OKLaboklab(57.09% -0.0277 -0.166)
OKLCHoklch(57.09% 0.168 260.5)
XYZxyz(20.2815, 18.1097, 68.0588)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873D9 #D99E38
analogous
#38C4D9 #3873D9 #4D38D9
triadic
#3873D9 #D93873 #73D938
tetradic
#3873D9 #D938C4 #D99E38 #38D94D
square
#3873D9 #D938C4 #D99E38 #38D94D
split-complementary
#3873D9 #D94D38 #C4D938
monochromatic
#183E7E #2257B2 #3873D9 #6B97E3 #9FBBED

Accessibility & contrast

On white

4.54
#3873D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#3873D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3873D9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873D9#FFFFFF#000000##000000
##3873D91.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDD
Deuteranopia (green-blind)
#0D6FD7
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3873d9;
/* rgb */ color: rgb(56, 115, 217);
/* oklch */ color: oklch(57.1% 0.168 260.5);
Tailwind
colors: {
  custom: {
    50: '#849ae5',
    500: '#3873d9',
    950: '#000000',
  },
}
SCSS
$custom: #3873d9;
$custom-light: #849ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#3873d9",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 217
  },
  "hsl": {
    "h": 218.012,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57089,
    "c": 0.16832,
    "h": 260.5
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#3873D9
secondary
#D9C094
accent
#AB3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3873D9

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

Preview Lab → · Contrast checker → · Palette generator →

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