#3E51AE#3E51AE

#3E51AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.149 H 270.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3E51AE
RGBrgb(62, 81, 174)
HSLhsl(230, 47%, 46%)
HSVhsv(230, 64%, 68%)
CMYKcmyk(64.4%, 53.4%, 0%, 31.8%)
CIE-LABlab(37.78, 22.92, -52.05)
CIE-LCHlch(37.78, 56.87, 293.76°)
OKLaboklab(47.23% 0.0024 -0.1494)
OKLCHoklch(47.23% 0.149 270.9)
XYZxyz(12.5664, 9.9639, 41.2972)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E51AE #AE9B3E
analogous
#3E89AE #3E51AE #633EAE
triadic
#3E51AE #AE3E51 #51AE3E
tetradic
#3E51AE #AE3E89 #AE9B3E #3EAE63
square
#3E51AE #AE3E89 #AE9B3E #3EAE63
split-complementary
#3E51AE #AE633E #89AE3E
monochromatic
#1E2754 #2E3C81 #3E51AE #6273C7 #8F9BD7

Accessibility & contrast

On white

7.02
#3E51AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3E51AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E51AE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E51AE#FFFFFF#000000##FFFFFF
##3E51AE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e51ae;
/* rgb */ color: rgb(62, 81, 174);
/* oklch */ color: oklch(47.2% 0.149 270.9);
Tailwind
colors: {
  custom: {
    50: '#7f81c7',
    500: '#3e51ae',
    950: '#000000',
  },
}
SCSS
$custom: #3e51ae;
$custom-light: #7f81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e51ae",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 229.821,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.14942,
    "h": 270.9
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#3E51AE
secondary
#C2B886
accent
#C051D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E51AE

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

Preview Lab → · Contrast checker → · Palette generator →

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