#3D78D4#3D78D4

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

Color values

HEX#3D78D4
RGBrgb(61, 120, 212)
HSLhsl(217, 64%, 54%)
HSVhsv(217, 71%, 83%)
CMYKcmyk(71.2%, 43.4%, 0%, 16.9%)
CIE-LABlab(50.89, 11.62, -52.98)
CIE-LCHlch(50.89, 54.24, 282.37°)
OKLaboklab(58.02% -0.0293 -0.1515)
OKLCHoklch(58.02% 0.154 259)
XYZxyz(20.5203, 19.1763, 64.8945)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D78D4 #D4993D
analogous
#3DC4D4 #3D78D4 #4D3DD4
triadic
#3D78D4 #D43D78 #78D43D
tetradic
#3D78D4 #D43DC4 #D4993D #3DD44D
square
#3D78D4 #D43DC4 #D4993D #3DD44D
split-complementary
#3D78D4 #D44D3D #C4D43D
monochromatic
#1B417B #265BAD #3D78D4 #6F9BDF #A1BEEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D78D4#FFFFFF#000000##000000
##3D78D41.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)
#4B81D8
Deuteranopia (green-blind)
#2F73D2
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3d78d4;
/* rgb */ color: rgb(61, 120, 212);
/* oklch */ color: oklch(58.0% 0.154 259.0);
Tailwind
colors: {
  custom: {
    50: '#849ee2',
    500: '#3d78d4',
    950: '#000000',
  },
}
SCSS
$custom: #3d78d4;
$custom-light: #849ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d78d4",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 216.556,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.15435,
    "h": 259
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#3D78D4
secondary
#D7BD96
accent
#A641E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3D78D4

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

Preview Lab → · Contrast checker → · Palette generator →

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