#3E4EA7#3E4EA7

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

Color values

HEX#3E4EA7
RGBrgb(62, 78, 167)
HSLhsl(231, 46%, 45%)
HSVhsv(231, 63%, 65%)
CMYKcmyk(62.9%, 53.3%, 0%, 34.5%)
CIE-LABlab(36.48, 22.39, -49.98)
CIE-LCHlch(36.48, 54.76, 294.13°)
OKLaboklab(46.1% 0.0048 -0.1433)
OKLCHoklch(46.1% 0.143 271.9)
XYZxyz(11.6837, 9.2620, 37.7238)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EA7 #A7973E
analogous
#3E83A7 #3E4EA7 #623EA7
triadic
#3E4EA7 #A73E4E #4EA73E
tetradic
#3E4EA7 #A73E83 #A7973E #3EA762
square
#3E4EA7 #A73E83 #A7973E #3EA762
split-complementary
#3E4EA7 #A7623E #83A73E
monochromatic
#1D244E #2D397A #3E4EA7 #5F6EC3 #8B96D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E4EA7#FFFFFF#000000##FFFFFF
##3E4EA71.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)
#175BAA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4ea7;
/* rgb */ color: rgb(62, 78, 167);
/* oklch */ color: oklch(46.1% 0.143 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e7fc2',
    500: '#3e4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ea7;
$custom-light: #7e7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ea7",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 230.857,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46097,
    "c": 0.14342,
    "h": 271.9
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#3E4EA7
secondary
#BFB682
accent
#C252D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3E4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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