#3E51D2#3E51D2

#3E51D2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.198 H 270.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3E51D2
RGBrgb(62, 81, 210)
HSLhsl(232, 62%, 53%)
HSVhsv(232, 70%, 82%)
CMYKcmyk(70.5%, 61.4%, 0%, 17.6%)
CIE-LABlab(40.51, 35.68, -68.63)
CIE-LCHlch(40.51, 77.34, 297.47°)
OKLaboklab(50.12% 0.0031 -0.1981)
OKLCHoklch(50.12% 0.198 270.9)
XYZxyz(16.5579, 11.5605, 62.3190)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E51D2 #D2BF3E
analogous
#3E9BD2 #3E51D2 #753ED2
triadic
#3E51D2 #D23E51 #51D23E
tetradic
#3E51D2 #D23E9B #D2BF3E #3ED275
square
#3E51D2 #D23E9B #D2BF3E #3ED275
split-complementary
#3E51D2 #D2753E #9BD23E
monochromatic
#1C2879 #2839AB #3E51D2 #707EDE #A1AAE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E51D2#FFFFFF#000000##FFFFFF
##3E51D21.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)
#0066D6
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e51d2;
/* rgb */ color: rgb(62, 81, 210);
/* oklch */ color: oklch(50.1% 0.198 270.9);
Tailwind
colors: {
  custom: {
    50: '#8681e1',
    500: '#3e51d2',
    950: '#000000',
  },
}
SCSS
$custom: #3e51d2;
$custom-light: #8681e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e51d2",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 232.297,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.19813,
    "h": 270.9
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#3E51D2
secondary
#D6CE96
accent
#D043E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3E51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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