#3E50D5#3E50D5

#3E50D5 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.2% C 0.203 H 271.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3E50D5
RGBrgb(62, 80, 213)
HSLhsl(233, 64%, 54%)
HSVhsv(233, 71%, 84%)
CMYKcmyk(70.9%, 62.4%, 0%, 16.5%)
CIE-LABlab(40.51, 37.35, -70.34)
CIE-LCHlch(40.51, 79.64, 297.97°)
OKLaboklab(50.2% 0.0037 -0.2031)
OKLCHoklch(50.2% 0.203 271)
XYZxyz(16.8614, 11.5639, 64.2813)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E50D5 #D5C33E
analogous
#3E9CD5 #3E50D5 #783ED5
triadic
#3E50D5 #D53E50 #50D53E
tetradic
#3E50D5 #D53E9C #D5C33E #3ED578
square
#3E50D5 #D53E9C #D5C33E #3ED578
split-complementary
#3E50D5 #D5783E #9CD53E
monochromatic
#1B277D #2637B0 #3E50D5 #707EE0 #A3ABEB

Accessibility & contrast

On white

6.34
#3E50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3E50D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E50D5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E50D5#FFFFFF#000000##FFFFFF
##3E50D51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e50d5;
/* rgb */ color: rgb(62, 80, 213);
/* oklch */ color: oklch(50.2% 0.203 271.0);
Tailwind
colors: {
  custom: {
    50: '#8781e3',
    500: '#3e50d5',
    950: '#000000',
  },
}
SCSS
$custom: #3e50d5;
$custom-light: #8781e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e50d5",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 232.848,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.20318,
    "h": 271
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#3E50D5
secondary
#D8D097
accent
#D341E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3E50D5

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

Preview Lab → · Contrast checker → · Palette generator →

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