#3E78D5#3E78D5

#3E78D5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.155 H 259.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3E78D5
RGBrgb(62, 120, 213)
HSLhsl(217, 64%, 54%)
HSVhsv(217, 71%, 84%)
CMYKcmyk(70.9%, 43.7%, 0%, 16.5%)
CIE-LABlab(50.99, 12.12, -53.39)
CIE-LCHlch(50.99, 54.75, 282.79°)
OKLaboklab(58.12% -0.0284 -0.1527)
OKLCHoklch(58.12% 0.155 259.5)
XYZxyz(20.7090, 19.2590, 65.5638)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E78D5 #D59B3E
analogous
#3EC3D5 #3E78D5 #503ED5
triadic
#3E78D5 #D53E78 #78D53E
tetradic
#3E78D5 #D53EC3 #D59B3E #3ED550
square
#3E78D5 #D53EC3 #D59B3E #3ED550
split-complementary
#3E78D5 #D5503E #C3D53E
monochromatic
#1B417D #265BB0 #3E78D5 #709BE0 #A3BEEB

Accessibility & contrast

On white

4.33
#3E78D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#3E78D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E78D5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E78D5#FFFFFF#000000##000000
##3E78D51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81D9
Deuteranopia (green-blind)
#2E73D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3e78d5;
/* rgb */ color: rgb(62, 120, 213);
/* oklch */ color: oklch(58.1% 0.155 259.5);
Tailwind
colors: {
  custom: {
    50: '#859ee2',
    500: '#3e78d5',
    950: '#000000',
  },
}
SCSS
$custom: #3e78d5;
$custom-light: #859ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e78d5",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 216.954,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.15535,
    "h": 259.5
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E78D5

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

Preview Lab → · Contrast checker → · Palette generator →

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