#3870CA#3870CA

#3870CA is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.152 H 259.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3870CA
RGBrgb(56, 112, 202)
HSLhsl(217, 58%, 51%)
HSVhsv(217, 72%, 79%)
CMYKcmyk(72.3%, 44.6%, 0%, 20.8%)
CIE-LABlab(47.87, 12.27, -52.13)
CIE-LCHlch(47.87, 53.56, 283.24°)
OKLaboklab(55.44% -0.0276 -0.1493)
OKLCHoklch(55.44% 0.152 259.5)
XYZxyz(18.0819, 16.6914, 58.1345)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870CA #CA9238
analogous
#38B9CA #3870CA #4938CA
triadic
#3870CA #CA3870 #70CA38
tetradic
#3870CA #CA38B9 #CA9238 #38CA49
square
#3870CA #CA38B9 #CA9238 #38CA49
split-complementary
#3870CA #CA4938 #B9CA38
monochromatic
#1D3B6B #29559B #3870CA #6893D7 #99B5E4

Accessibility & contrast

On white

4.84
#3870CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3870CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870CA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870CA#FFFFFF#000000##FFFFFF
##3870CA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CD
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3870ca;
/* rgb */ color: rgb(56, 112, 202);
/* oklch */ color: oklch(55.4% 0.152 259.5);
Tailwind
colors: {
  custom: {
    50: '#8198db',
    500: '#3870ca',
    950: '#000000',
  },
}
SCSS
$custom: #3870ca;
$custom-light: #8198db;
$custom-dark: #000000;
JSON
{
  "hex": "#3870ca",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 216.986,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.1518,
    "h": 259.5
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#3870CA
secondary
#CFB68E
accent
#A647E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3870CA

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

Preview Lab → · Contrast checker → · Palette generator →

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