#3E50B4#3E50B4

#3E50B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.159 H 271.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3E50B4
RGBrgb(62, 80, 180)
HSLhsl(231, 49%, 47%)
HSVhsv(231, 66%, 71%)
CMYKcmyk(65.6%, 55.6%, 0%, 29.4%)
CIE-LABlab(37.94, 25.70, -55.33)
CIE-LCHlch(37.94, 61.01, 294.92°)
OKLaboklab(47.49% 0.0037 -0.1591)
OKLCHoklch(47.49% 0.159 271.3)
XYZxyz(13.0907, 10.0556, 44.4222)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E50B4 #B4A23E
analogous
#3E8BB4 #3E50B4 #673EB4
triadic
#3E50B4 #B43E50 #50B43E
tetradic
#3E50B4 #B43E8B #B4A23E #3EB467
square
#3E50B4 #B43E8B #B4A23E #3EB467
split-complementary
#3E50B4 #B4673E #8BB43E
monochromatic
#1F2859 #2E3C86 #3E50B4 #6575CA #939EDA

Accessibility & contrast

On white

6.97
#3E50B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3E50B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E50B4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E50B4#FFFFFF#000000##FFFFFF
##3E50B41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e50b4;
/* rgb */ color: rgb(62, 80, 180);
/* oklch */ color: oklch(47.5% 0.159 271.3);
Tailwind
colors: {
  custom: {
    50: '#8080cb',
    500: '#3e50b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e50b4;
$custom-light: #8080cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e50b4",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 230.847,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.1591,
    "h": 271.3
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#3E50B4
secondary
#C5BC89
accent
#C34FD8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E50B4

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

Preview Lab → · Contrast checker → · Palette generator →

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