#3E78D4#3E78D4

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

Color values

HEX#3E78D4
RGBrgb(62, 120, 212)
HSLhsl(217, 64%, 54%)
HSVhsv(217, 71%, 83%)
CMYKcmyk(70.8%, 43.4%, 0%, 16.9%)
CIE-LABlab(50.93, 11.76, -52.92)
CIE-LCHlch(50.93, 54.21, 282.53°)
OKLaboklab(58.05% -0.0286 -0.1513)
OKLCHoklch(58.05% 0.154 259.3)
XYZxyz(20.5825, 19.2083, 64.8974)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E78D4 #D49A3E
analogous
#3EC3D4 #3E78D4 #4F3ED4
triadic
#3E78D4 #D43E78 #78D43E
tetradic
#3E78D4 #D43EC3 #D49A3E #3ED44F
square
#3E78D4 #D43EC3 #D49A3E #3ED44F
split-complementary
#3E78D4 #D44F3E #C3D43E
monochromatic
#1C417C #275BAE #3E78D4 #709BDF #A2BEEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E78D4#FFFFFF#000000##000000
##3E78D41.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)
#3073D2
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3e78d4;
/* rgb */ color: rgb(62, 120, 212);
/* oklch */ color: oklch(58.1% 0.154 259.3);
Tailwind
colors: {
  custom: {
    50: '#859ee2',
    500: '#3e78d4',
    950: '#000000',
  },
}
SCSS
$custom: #3e78d4;
$custom-light: #859ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e78d4",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 216.8,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.15402,
    "h": 259.3
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#3E78D4
secondary
#D7BE97
accent
#A741E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3E78D4

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

Preview Lab → · Contrast checker → · Palette generator →

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