#3A78D4#3A78D4

#3A78D4 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.155 H 258.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3A78D4
RGBrgb(58, 120, 212)
HSLhsl(216, 64%, 53%)
HSVhsv(216, 73%, 83%)
CMYKcmyk(72.6%, 43.4%, 0%, 16.9%)
CIE-LABlab(50.78, 11.21, -53.16)
CIE-LCHlch(50.78, 54.33, 281.91°)
OKLaboklab(57.9% -0.0314 -0.1521)
OKLCHoklch(57.9% 0.155 258.3)
XYZxyz(20.3407, 19.0837, 64.8861)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78D4 #D4963A
analogous
#3AC5D4 #3A78D4 #493AD4
triadic
#3A78D4 #D43A78 #78D43A
tetradic
#3A78D4 #D43AC5 #D4963A #3AD449
square
#3A78D4 #D43AC5 #D4963A #3AD449
split-complementary
#3A78D4 #D4493A #C5D43A
monochromatic
#1A4179 #255BAB #3A78D4 #6C9ADF #9EBDEA

Accessibility & contrast

On white

4.36
#3A78D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#3A78D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78D4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78D4#FFFFFF#000000##000000
##3A78D41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81D8
Deuteranopia (green-blind)
#2E72D2
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a78d4;
/* rgb */ color: rgb(58, 120, 212);
/* oklch */ color: oklch(57.9% 0.155 258.3);
Tailwind
colors: {
  custom: {
    50: '#839ee2',
    500: '#3a78d4',
    950: '#000000',
  },
}
SCSS
$custom: #3a78d4;
$custom-light: #839ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78d4",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 215.844,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.15532,
    "h": 258.3
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#3A78D4
secondary
#D6BB94
accent
#A441E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78D4

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

Preview Lab → · Contrast checker → · Palette generator →

#3A78D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva