#3A78D6#3A78D6

#3A78D6 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.158 H 258.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A78D6
RGBrgb(58, 120, 214)
HSLhsl(216, 66%, 53%)
HSVhsv(216, 73%, 84%)
CMYKcmyk(72.9%, 43.9%, 0%, 16.1%)
CIE-LABlab(50.90, 11.94, -54.10)
CIE-LCHlch(50.90, 55.40, 282.44°)
OKLaboklab(58.03% -0.031 -0.1549)
OKLCHoklch(58.03% 0.158 258.7)
XYZxyz(20.5946, 19.1853, 66.2230)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78D6 #D6983A
analogous
#3AC6D6 #3A78D6 #4A3AD6
triadic
#3A78D6 #D63A78 #78D63A
tetradic
#3A78D6 #D63AC6 #D6983A #3AD64A
square
#3A78D6 #D63AC6 #D6983A #3AD64A
split-complementary
#3A78D6 #D64A3A #C6D63A
monochromatic
#1A417C #245BAE #3A78D6 #6D9BE1 #9FBDEB

Accessibility & contrast

On white

4.34
#3A78D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A78D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78D6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78D6#FFFFFF#000000##000000
##3A78D61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DA
Deuteranopia (green-blind)
#2B73D4
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a78d6;
/* rgb */ color: rgb(58, 120, 214);
/* oklch */ color: oklch(58.0% 0.158 258.7);
Tailwind
colors: {
  custom: {
    50: '#849ee3',
    500: '#3a78d6',
    950: '#000000',
  },
}
SCSS
$custom: #3a78d6;
$custom-light: #849ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78d6",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 214
  },
  "hsl": {
    "h": 216.154,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58031,
    "c": 0.15797,
    "h": 258.7
  },
  "luminance": 0.19188
}

Semantic roles & 50–950 ramp

primary
#3A78D6
secondary
#D7BD94
accent
#A53FE8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3A78D6

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

Preview Lab → · Contrast checker → · Palette generator →

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