#3A78D3#3A78D3

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

Color values

HEX#3A78D3
RGBrgb(58, 120, 211)
HSLhsl(216, 63%, 53%)
HSVhsv(216, 73%, 83%)
CMYKcmyk(72.5%, 43.1%, 0%, 17.3%)
CIE-LABlab(50.73, 10.84, -52.68)
CIE-LCHlch(50.73, 53.79, 281.63°)
OKLaboklab(57.84% -0.0316 -0.1507)
OKLCHoklch(57.84% 0.154 258.2)
XYZxyz(20.2150, 19.0334, 64.2238)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78D3 #D3953A
analogous
#3AC5D3 #3A78D3 #483AD3
triadic
#3A78D3 #D33A78 #78D33A
tetradic
#3A78D3 #D33AC5 #D3953A #3AD348
square
#3A78D3 #D33AC5 #D3953A #3AD348
split-complementary
#3A78D3 #D3483A #C5D33A
monochromatic
#1B4078 #265BAA #3A78D3 #6C9ADE #9EBDE9

Accessibility & contrast

On white

4.37
#3A78D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#3A78D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78D3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78D3#FFFFFF#000000##000000
##3A78D31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D7
Deuteranopia (green-blind)
#2F72D1
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a78d3;
/* rgb */ color: rgb(58, 120, 211);
/* oklch */ color: oklch(57.8% 0.154 258.2);
Tailwind
colors: {
  custom: {
    50: '#839ee1',
    500: '#3a78d3',
    950: '#000000',
  },
}
SCSS
$custom: #3a78d3;
$custom-light: #839ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78d3",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 211
  },
  "hsl": {
    "h": 215.686,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.154,
    "h": 258.2
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A78D3

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

Preview Lab → · Contrast checker → · Palette generator →

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