#3E4AB5#3E4AB5

#3E4AB5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.168 H 273.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3E4AB5
RGBrgb(62, 74, 181)
HSLhsl(234, 49%, 48%)
HSVhsv(234, 66%, 71%)
CMYKcmyk(65.7%, 59.1%, 0%, 29%)
CIE-LABlab(36.47, 29.93, -58.30)
CIE-LCHlch(36.47, 65.54, 297.17°)
OKLaboklab(46.42% 0.0091 -0.1679)
OKLCHoklch(46.42% 0.168 273.1)
XYZxyz(12.7731, 9.2568, 44.8207)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AB5 #B5A93E
analogous
#3E85B5 #3E4AB5 #6E3EB5
triadic
#3E4AB5 #B53E4A #4AB53E
tetradic
#3E4AB5 #B53E85 #B5A93E #3EB56E
square
#3E4AB5 #B53E85 #B5A93E #3EB56E
split-complementary
#3E4AB5 #B56E3E #85B53E
monochromatic
#1F255A #2E3787 #3E4AB5 #6670CA #939ADA

Accessibility & contrast

On white

7.36
#3E4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3E4AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AB5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AB5#FFFFFF#000000##FFFFFF
##3E4AB51.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4ab5;
/* rgb */ color: rgb(62, 74, 181);
/* oklch */ color: oklch(46.4% 0.168 273.1);
Tailwind
colors: {
  custom: {
    50: '#817ccc',
    500: '#3e4ab5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ab5;
$custom-light: #817ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ab5",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 233.95,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.16811,
    "h": 273.1
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E4AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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