#3873CA#3873CA

#3873CA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.148 H 258.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3873CA
RGBrgb(56, 115, 202)
HSLhsl(216, 58%, 51%)
HSVhsv(216, 72%, 79%)
CMYKcmyk(72.3%, 43.1%, 0%, 20.8%)
CIE-LABlab(48.72, 10.39, -50.78)
CIE-LCHlch(48.72, 51.83, 281.57°)
OKLaboklab(56.09% -0.0303 -0.1452)
OKLCHoklch(56.09% 0.148 258.2)
XYZxyz(18.4184, 17.3645, 58.2466)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3873CA #CA8F38
analogous
#38BCCA #3873CA #4638CA
triadic
#3873CA #CA3873 #73CA38
tetradic
#3873CA #CA38BC #CA8F38 #38CA46
square
#3873CA #CA38BC #CA8F38 #38CA46
split-complementary
#3873CA #CA4638 #BCCA38
monochromatic
#1D3C6B #29579B #3873CA #6895D7 #99B7E4

Accessibility & contrast

On white

4.69
#3873CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3873CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3873CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3873CA#FFFFFF#000000##FFFFFF
##3873CA1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3873ca;
/* rgb */ color: rgb(56, 115, 202);
/* oklch */ color: oklch(56.1% 0.148 258.2);
Tailwind
colors: {
  custom: {
    50: '#819adb',
    500: '#3873ca',
    950: '#000000',
  },
}
SCSS
$custom: #3873ca;
$custom-light: #819adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3873ca",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 215.753,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.14835,
    "h": 258.2
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#3873CA
secondary
#CFB58E
accent
#A347E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3873CA

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

Preview Lab → · Contrast checker → · Palette generator →

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