#3E78E1#3E78E1

#3E78E1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.171 H 261.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3E78E1
RGBrgb(62, 120, 225)
HSLhsl(219, 73%, 56%)
HSVhsv(219, 72%, 88%)
CMYKcmyk(72.4%, 46.7%, 0%, 11.8%)
CIE-LABlab(51.71, 16.46, -59.00)
CIE-LCHlch(51.71, 61.26, 285.59°)
OKLaboklab(58.91% -0.0264 -0.1692)
OKLCHoklch(58.91% 0.171 261.1)
XYZxyz(22.2888, 19.8909, 73.8842)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E78E1 #E1A73E
analogous
#3ECAE1 #3E78E1 #563EE1
triadic
#3E78E1 #E13E78 #78E13E
tetradic
#3E78E1 #E13ECA #E1A73E #3EE156
square
#3E78E1 #E13ECA #E1A73E #3EE156
split-complementary
#3E78E1 #E1563E #CAE13E
monochromatic
#16418E #1E59C3 #3E78E1 #739DE9 #A8C2F1

Accessibility & contrast

On white

4.22
#3E78E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3E78E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E78E1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E78E1#FFFFFF#000000##000000
##3E78E11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4083E5
Deuteranopia (green-blind)
#1574DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3e78e1;
/* rgb */ color: rgb(62, 120, 225);
/* oklch */ color: oklch(58.9% 0.171 261.1);
Tailwind
colors: {
  custom: {
    50: '#879eeb',
    500: '#3e78e1',
    950: '#000000',
  },
}
SCSS
$custom: #3e78e1;
$custom-light: #879eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e78e1",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 225
  },
  "hsl": {
    "h": 218.65,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.17128,
    "h": 261.1
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#3E78E1
secondary
#DFC79C
accent
#AE38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3E78E1

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

Preview Lab → · Contrast checker → · Palette generator →

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