#3B78E2#3B78E2

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

Color values

HEX#3B78E2
RGBrgb(59, 120, 226)
HSLhsl(218, 74%, 56%)
HSVhsv(218, 74%, 89%)
CMYKcmyk(73.9%, 46.9%, 0%, 11.4%)
CIE-LABlab(51.67, 16.44, -59.64)
CIE-LCHlch(51.67, 61.87, 285.41°)
OKLaboklab(58.87% -0.0283 -0.1712)
OKLCHoklch(58.87% 0.174 260.6)
XYZxyz(22.2426, 19.8513, 74.5962)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B78E2 #E2A53B
analogous
#3BCBE2 #3B78E2 #513BE2
triadic
#3B78E2 #E23B78 #78E23B
tetradic
#3B78E2 #E23BCB #E2A53B #3BE251
square
#3B78E2 #E23BCB #E2A53B #3BE251
split-complementary
#3B78E2 #E2513B #CBE23B
monochromatic
#15418E #1D5AC3 #3B78E2 #709DEA #A6C1F2

Accessibility & contrast

On white

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

On black

4.97
#3B78E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B78E2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B78E2#FFFFFF#000000##000000
##3B78E21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E6
Deuteranopia (green-blind)
#0E74E0
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3b78e2;
/* rgb */ color: rgb(59, 120, 226);
/* oklch */ color: oklch(58.9% 0.173 260.6);
Tailwind
colors: {
  custom: {
    50: '#869eec',
    500: '#3b78e2',
    950: '#000000',
  },
}
SCSS
$custom: #3b78e2;
$custom-light: #869eec;
$custom-dark: #000000;
JSON
{
  "hex": "#3b78e2",
  "rgb": {
    "r": 59,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 218.084,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58866,
    "c": 0.1735,
    "h": 260.6
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#3B78E2
secondary
#DFC69A
accent
#AD37F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3B78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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