#3E4AB7#3E4AB7

#3E4AB7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.171 H 273.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3E4AB7
RGBrgb(62, 74, 183)
HSLhsl(234, 49%, 48%)
HSVhsv(234, 66%, 72%)
CMYKcmyk(66.1%, 59.6%, 0%, 28.2%)
CIE-LABlab(36.63, 30.63, -59.23)
CIE-LCHlch(36.63, 66.68, 297.34°)
OKLaboklab(46.58% 0.0091 -0.1706)
OKLCHoklch(46.58% 0.171 273)
XYZxyz(12.9798, 9.3394, 45.9092)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AB7 #B7AB3E
analogous
#3E86B7 #3E4AB7 #6F3EB7
triadic
#3E4AB7 #B73E4A #4AB73E
tetradic
#3E4AB7 #B73E86 #B7AB3E #3EB76F
square
#3E4AB7 #B73E86 #B7AB3E #3EB76F
split-complementary
#3E4AB7 #B76F3E #86B73E
monochromatic
#1F255C #2F3889 #3E4AB7 #6771CB #949BDB

Accessibility & contrast

On white

7.32
#3E4AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E4AB7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AB7#FFFFFF#000000##FFFFFF
##3E4AB71.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4ab7;
/* rgb */ color: rgb(62, 74, 183);
/* oklch */ color: oklch(46.6% 0.171 273.0);
Tailwind
colors: {
  custom: {
    50: '#817ccd',
    500: '#3e4ab7',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ab7;
$custom-light: #817ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ab7",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 234.05,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46581,
    "c": 0.17083,
    "h": 273
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#3E4AB7
secondary
#C6C08A
accent
#CB4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E4AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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