#3879E1#3879E1

#3879E1 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.172 H 259.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3879E1
RGBrgb(56, 121, 225)
HSLhsl(217, 74%, 55%)
HSVhsv(217, 75%, 88%)
CMYKcmyk(75.1%, 46.2%, 0%, 11.8%)
CIE-LABlab(51.78, 15.09, -58.91)
CIE-LCHlch(51.78, 60.81, 284.37°)
OKLaboklab(58.9% -0.0313 -0.169)
OKLCHoklch(58.9% 0.172 259.5)
XYZxyz(22.0539, 19.9492, 73.9078)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879E1 #E1A038
analogous
#38CEE1 #3879E1 #4B38E1
triadic
#3879E1 #E13879 #79E138
tetradic
#3879E1 #E138CE #E1A038 #38E14B
square
#3879E1 #E138CE #E1A038 #38E14B
split-complementary
#3879E1 #E14B38 #CEE138
monochromatic
#15428A #1D5BBF #3879E1 #6D9DE9 #A2C1F1

Accessibility & contrast

On white

4.21
#3879E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#3879E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879E1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879E1#FFFFFF#000000##000000
##3879E11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E5
Deuteranopia (green-blind)
#1574DF
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3879e1;
/* rgb */ color: rgb(56, 121, 225);
/* oklch */ color: oklch(58.9% 0.172 259.5);
Tailwind
colors: {
  custom: {
    50: '#859feb',
    500: '#3879e1',
    950: '#000000',
  },
}
SCSS
$custom: #3879e1;
$custom-light: #859feb;
$custom-dark: #000000;
JSON
{
  "hex": "#3879e1",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 216.923,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.17191,
    "h": 259.5
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#3879E1
secondary
#DEC397
accent
#A937F0
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3879E1

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

Preview Lab → · Contrast checker → · Palette generator →

#3879E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva