#3E4AB4#3E4AB4

#3E4AB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.167 H 273.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3E4AB4
RGBrgb(62, 74, 180)
HSLhsl(234, 49%, 47%)
HSVhsv(234, 66%, 71%)
CMYKcmyk(65.6%, 58.9%, 0%, 29.4%)
CIE-LABlab(36.40, 29.57, -57.84)
CIE-LCHlch(36.40, 64.96, 297.08°)
OKLaboklab(46.34% 0.0091 -0.1665)
OKLCHoklch(46.34% 0.167 273.1)
XYZxyz(12.6709, 9.2159, 44.2823)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AB4 #B4A83E
analogous
#3E85B4 #3E4AB4 #6D3EB4
triadic
#3E4AB4 #B43E4A #4AB43E
tetradic
#3E4AB4 #B43E85 #B4A83E #3EB46D
square
#3E4AB4 #B43E85 #B4A83E #3EB46D
split-complementary
#3E4AB4 #B46D3E #85B43E
monochromatic
#1F2559 #2E3786 #3E4AB4 #656FCA #939ADA

Accessibility & contrast

On white

7.39
#3E4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3E4AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AB4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AB4#FFFFFF#000000##FFFFFF
##3E4AB41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4ab4;
/* rgb */ color: rgb(62, 74, 180);
/* oklch */ color: oklch(46.3% 0.167 273.1);
Tailwind
colors: {
  custom: {
    50: '#817ccb',
    500: '#3e4ab4',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ab4;
$custom-light: #817ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ab4",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 233.898,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46335,
    "c": 0.16675,
    "h": 273.1
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#3E4AB4
secondary
#C5BF89
accent
#CA4FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E4AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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