#3A78D2#3A78D2

#3A78D2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.153 H 258.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3A78D2
RGBrgb(58, 120, 210)
HSLhsl(216, 63%, 53%)
HSVhsv(216, 72%, 82%)
CMYKcmyk(72.4%, 42.9%, 0%, 17.6%)
CIE-LABlab(50.67, 10.48, -52.21)
CIE-LCHlch(50.67, 53.25, 281.35°)
OKLaboklab(57.77% -0.0318 -0.1493)
OKLCHoklch(57.77% 0.153 258)
XYZxyz(20.0900, 18.9834, 63.5656)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78D2 #D2943A
analogous
#3AC4D2 #3A78D2 #483AD2
triadic
#3A78D2 #D23A78 #78D23A
tetradic
#3A78D2 #D23AC4 #D2943A #3AD248
square
#3A78D2 #D23AC4 #D2943A #3AD248
split-complementary
#3A78D2 #D2483A #C4D23A
monochromatic
#1B4077 #265BA8 #3A78D2 #6C9ADD #9EBCE9

Accessibility & contrast

On white

4.38
#3A78D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#3A78D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78D2#FFFFFF#000000##000000
##3A78D21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D5
Deuteranopia (green-blind)
#3172D0
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a78d2;
/* rgb */ color: rgb(58, 120, 210);
/* oklch */ color: oklch(57.8% 0.153 258.0);
Tailwind
colors: {
  custom: {
    50: '#839ee0',
    500: '#3a78d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a78d2;
$custom-light: #839ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78d2",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 215.526,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.15267,
    "h": 258
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#3A78D2
secondary
#D5BA93
accent
#A342E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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