#3E50C5#3E50C5

#3E50C5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.182 H 271.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3E50C5
RGBrgb(62, 80, 197)
HSLhsl(232, 54%, 51%)
HSVhsv(232, 69%, 77%)
CMYKcmyk(68.5%, 59.4%, 0%, 22.7%)
CIE-LABlab(39.23, 31.73, -63.20)
CIE-LCHlch(39.23, 70.72, 296.66°)
OKLaboklab(48.85% 0.0041 -0.1822)
OKLCHoklch(48.85% 0.182 271.3)
XYZxyz(14.9299, 10.7912, 54.1086)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E50C5 #C5B33E
analogous
#3E93C5 #3E50C5 #6F3EC5
triadic
#3E50C5 #C53E50 #50C53E
tetradic
#3E50C5 #C53E93 #C5B33E #3EC56F
square
#3E50C5 #C53E93 #C5B33E #3EC56F
split-complementary
#3E50C5 #C56F3E #93C53E
monochromatic
#202969 #2E3C98 #3E50C5 #6D7BD3 #9CA5E1

Accessibility & contrast

On white

6.65
#3E50C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3E50C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E50C5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E50C5#FFFFFF#000000##FFFFFF
##3E50C51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e50c5;
/* rgb */ color: rgb(62, 80, 197);
/* oklch */ color: oklch(48.9% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#8481d7',
    500: '#3e50c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e50c5;
$custom-light: #8481d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e50c5",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 232,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.18223,
    "h": 271.3
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#3E50C5
secondary
#CDC591
accent
#CA4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E50C5

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

Preview Lab → · Contrast checker → · Palette generator →

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