#3E50BA#3E50BA

#3E50BA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.167 H 271.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3E50BA
RGBrgb(62, 80, 186)
HSLhsl(231, 50%, 49%)
HSVhsv(231, 67%, 73%)
CMYKcmyk(66.7%, 57%, 0%, 27.1%)
CIE-LABlab(38.39, 27.84, -58.14)
CIE-LCHlch(38.39, 64.46, 295.58°)
OKLaboklab(47.96% 0.0039 -0.1673)
OKLCHoklch(47.96% 0.167 271.3)
XYZxyz(13.7152, 10.3054, 47.7112)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E50BA #BAA83E
analogous
#3E8EBA #3E50BA #6A3EBA
triadic
#3E50BA #BA3E50 #50BA3E
tetradic
#3E50BA #BA3E8E #BAA83E #3EBA6A
square
#3E50BA #BA3E8E #BAA83E #3EBA6A
split-complementary
#3E50BA #BA6A3E #8EBA3E
monochromatic
#1F295E #2F3C8C #3E50BA #6877CD #96A0DC

Accessibility & contrast

On white

6.86
#3E50BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3E50BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E50BA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E50BA#FFFFFF#000000##FFFFFF
##3E50BA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e50ba;
/* rgb */ color: rgb(62, 80, 186);
/* oklch */ color: oklch(48.0% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#8180cf',
    500: '#3e50ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e50ba;
$custom-light: #8180cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e50ba",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 231.29,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.16737,
    "h": 271.3
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#3E50BA
secondary
#C8BF8C
accent
#C54EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3E50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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