#3870CF#3870CF

#3870CF is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.8% C 0.159 H 260.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3870CF
RGBrgb(56, 112, 207)
HSLhsl(218, 61%, 52%)
HSVhsv(218, 73%, 81%)
CMYKcmyk(72.9%, 45.9%, 0%, 18.8%)
CIE-LABlab(48.17, 14.11, -54.50)
CIE-LCHlch(48.17, 56.30, 284.51°)
OKLaboklab(55.77% -0.0268 -0.1562)
OKLCHoklch(55.77% 0.159 260.3)
XYZxyz(18.6835, 16.9320, 61.3029)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870CF #CF9738
analogous
#38BCCF #3870CF #4C38CF
triadic
#3870CF #CF3870 #70CF38
tetradic
#3870CF #CF38BC #CF9738 #38CF4C
square
#3870CF #CF38BC #CF9738 #38CF4C
split-complementary
#3870CF #CF4C38 #BCCF38
monochromatic
#1B3B71 #2755A3 #3870CF #6993DB #9BB7E7

Accessibility & contrast

On white

4.79
#3870CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3870CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870CF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870CF#FFFFFF#000000##FFFFFF
##3870CF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#1C6CCD
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3870cf;
/* rgb */ color: rgb(56, 112, 207);
/* oklch */ color: oklch(55.8% 0.159 260.3);
Tailwind
colors: {
  custom: {
    50: '#8298de',
    500: '#3870cf',
    950: '#000000',
  },
}
SCSS
$custom: #3870cf;
$custom-light: #8298de;
$custom-dark: #000000;
JSON
{
  "hex": "#3870cf",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 217.748,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5577,
    "c": 0.15851,
    "h": 260.3
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#3870CF
secondary
#D3BA90
accent
#A944E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3870CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3870CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva