#3E4EAA#3E4EAA

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

Color values

HEX#3E4EAA
RGBrgb(62, 78, 170)
HSLhsl(231, 47%, 45%)
HSVhsv(231, 64%, 67%)
CMYKcmyk(63.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(36.70, 23.45, -51.43)
CIE-LCHlch(36.70, 56.52, 294.51°)
OKLaboklab(46.32% 0.0051 -0.1476)
OKLCHoklch(46.32% 0.148 272)
XYZxyz(11.9643, 9.3742, 39.2013)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EAA #AA9A3E
analogous
#3E84AA #3E4EAA #643EAA
triadic
#3E4EAA #AA3E4E #4EAA3E
tetradic
#3E4EAA #AA3E84 #AA9A3E #3EAA64
square
#3E4EAA #AA3E84 #AA9A3E #3EAA64
split-complementary
#3E4EAA #AA643E #84AA3E
monochromatic
#1D2550 #2E397D #3E4EAA #606FC5 #8D98D5

Accessibility & contrast

On white

7.30
#3E4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3E4EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EAA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EAA#FFFFFF#000000##FFFFFF
##3E4EAA1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4eaa;
/* rgb */ color: rgb(62, 78, 170);
/* oklch */ color: oklch(46.3% 0.148 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e7fc4',
    500: '#3e4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eaa;
$custom-light: #7e7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eaa",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 231.111,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.14768,
    "h": 272
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#3E4EAA
secondary
#C0B784
accent
#C352D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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