#3E4EB7#3E4EB7

#3E4EB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.166 H 271.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3E4EB7
RGBrgb(62, 78, 183)
HSLhsl(232, 49%, 48%)
HSVhsv(232, 66%, 72%)
CMYKcmyk(66.1%, 57.4%, 0%, 28.2%)
CIE-LABlab(37.65, 28.06, -57.58)
CIE-LCHlch(37.65, 64.05, 295.98°)
OKLaboklab(47.34% 0.0056 -0.1657)
OKLCHoklch(47.34% 0.166 271.9)
XYZxyz(13.2554, 9.8906, 46.0011)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EB7 #B7A73E
analogous
#3E8AB7 #3E4EB7 #6A3EB7
triadic
#3E4EB7 #B73E4E #4EB73E
tetradic
#3E4EB7 #B73E8A #B7A73E #3EB76A
square
#3E4EB7 #B73E8A #B7A73E #3EB76A
split-complementary
#3E4EB7 #B76A3E #8AB73E
monochromatic
#1F275C #2F3B89 #3E4EB7 #6774CB #949EDB

Accessibility & contrast

On white

7.05
#3E4EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3E4EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EB7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EB7#FFFFFF#000000##FFFFFF
##3E4EB71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e4eb7;
/* rgb */ color: rgb(62, 78, 183);
/* oklch */ color: oklch(47.3% 0.166 271.9);
Tailwind
colors: {
  custom: {
    50: '#817fcd',
    500: '#3e4eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eb7;
$custom-light: #817fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eb7",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 232.066,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.16578,
    "h": 271.9
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#3E4EB7
secondary
#C6BE8A
accent
#C74FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3E4EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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