#3E4EAB#3E4EAB

#3E4EAB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.149 H 272.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3E4EAB
RGBrgb(62, 78, 171)
HSLhsl(231, 47%, 46%)
HSVhsv(231, 64%, 67%)
CMYKcmyk(63.7%, 54.4%, 0%, 32.9%)
CIE-LABlab(36.77, 23.80, -51.91)
CIE-LCHlch(36.77, 57.10, 294.64°)
OKLaboklab(46.4% 0.0051 -0.149)
OKLCHoklch(46.4% 0.149 272)
XYZxyz(12.0592, 9.4122, 39.7014)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EAB #AB9B3E
analogous
#3E84AB #3E4EAB #653EAB
triadic
#3E4EAB #AB3E4E #4EAB3E
tetradic
#3E4EAB #AB3E84 #AB9B3E #3EAB65
square
#3E4EAB #AB3E84 #AB9B3E #3EAB65
split-complementary
#3E4EAB #AB653E #84AB3E
monochromatic
#1D2551 #2E3A7E #3E4EAB #616FC6 #8E98D6

Accessibility & contrast

On white

7.29
#3E4EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3E4EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EAB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EAB#FFFFFF#000000##FFFFFF
##3E4EAB1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4eab;
/* rgb */ color: rgb(62, 78, 171);
/* oklch */ color: oklch(46.4% 0.149 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f7fc5',
    500: '#3e4eab',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eab;
$custom-light: #7f7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eab",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 231.193,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.1491,
    "h": 272
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#3E4EAB
secondary
#C1B884
accent
#C351D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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