#3878CA#3878CA

#3878CA is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.2% C 0.143 H 255.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3878CA
RGBrgb(56, 120, 202)
HSLhsl(214, 58%, 51%)
HSVhsv(214, 72%, 79%)
CMYKcmyk(72.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(50.14, 7.29, -48.50)
CIE-LCHlch(50.14, 49.05, 278.55°)
OKLaboklab(57.19% -0.0348 -0.1385)
OKLCHoklch(57.19% 0.143 255.9)
XYZxyz(19.0041, 18.5359, 58.4419)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878CA #CA8A38
analogous
#38C1CA #3878CA #4138CA
triadic
#3878CA #CA3878 #78CA38
tetradic
#3878CA #CA38C1 #CA8A38 #38CA41
square
#3878CA #CA38C1 #CA8A38 #38CA41
split-complementary
#3878CA #CA4138 #C1CA38
monochromatic
#1D3F6B #295B9B #3878CA #6899D7 #99BAE4

Accessibility & contrast

On white

4.46
#3878CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#3878CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878CA#FFFFFF#000000##000000
##3878CA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCD
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3878ca;
/* rgb */ color: rgb(56, 120, 202);
/* oklch */ color: oklch(57.2% 0.143 255.9);
Tailwind
colors: {
  custom: {
    50: '#819eda',
    500: '#3878ca',
    950: '#000000',
  },
}
SCSS
$custom: #3878ca;
$custom-light: #819eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3878ca",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 213.699,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.14277,
    "h": 255.9
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#3878CA
secondary
#CFB38E
accent
#9D47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878CA

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

Preview Lab → · Contrast checker → · Palette generator →

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