#3E4EAE#3E4EAE

#3E4EAE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.153 H 272.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3E4EAE
RGBrgb(62, 78, 174)
HSLhsl(231, 47%, 46%)
HSVhsv(231, 64%, 68%)
CMYKcmyk(64.4%, 55.2%, 0%, 31.8%)
CIE-LABlab(36.98, 24.87, -53.34)
CIE-LCHlch(36.98, 58.85, 295.00°)
OKLaboklab(46.63% 0.0053 -0.1532)
OKLCHoklch(46.63% 0.153 272)
XYZxyz(12.3484, 9.5278, 41.2245)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EAE #AE9E3E
analogous
#3E86AE #3E4EAE #663EAE
triadic
#3E4EAE #AE3E4E #4EAE3E
tetradic
#3E4EAE #AE3E86 #AE9E3E #3EAE66
square
#3E4EAE #AE3E86 #AE9E3E #3EAE66
split-complementary
#3E4EAE #AE663E #86AE3E
monochromatic
#1E2654 #2E3A81 #3E4EAE #6271C7 #8F9AD7

Accessibility & contrast

On white

7.23
#3E4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3E4EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EAE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EAE#FFFFFF#000000##FFFFFF
##3E4EAE1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e4eae;
/* rgb */ color: rgb(62, 78, 174);
/* oklch */ color: oklch(46.6% 0.153 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f7fc7',
    500: '#3e4eae',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eae;
$custom-light: #7f7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eae",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 231.429,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.15331,
    "h": 272
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#3E4EAE
secondary
#C2BA86
accent
#C451D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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