#3E4E86#3E4E86

#3E4E86 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.095 H 270.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3E4E86
RGBrgb(62, 78, 134)
HSLhsl(227, 37%, 38%)
HSVhsv(227, 54%, 53%)
CMYKcmyk(53.7%, 41.8%, 0%, 47.5%)
CIE-LABlab(34.38, 10.84, -33.37)
CIE-LCHlch(34.38, 35.08, 287.99°)
OKLaboklab(43.82% 0.0002 -0.0945)
OKLCHoklch(43.82% 0.095 270.1)
XYZxyz(9.0127, 8.1935, 23.6562)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E86 #86763E
analogous
#3E7286 #3E4E86 #523E86
triadic
#3E4E86 #863E4E #4E863E
tetradic
#3E4E86 #863E72 #86763E #3E8652
square
#3E4E86 #863E72 #86763E #3E8652
split-complementary
#3E4E86 #86523E #72863E
monochromatic
#171D32 #2B365C #3E4E86 #5267AF #7C8CC2

Accessibility & contrast

On white

7.96
#3E4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E86
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E86#FFFFFF#000000##FFFFFF
##3E4E861.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#1D5A63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4e86;
/* rgb */ color: rgb(62, 78, 134);
/* oklch */ color: oklch(43.8% 0.095 270.1);
Tailwind
colors: {
  custom: {
    50: '#787fa9',
    500: '#3e4e86',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e86;
$custom-light: #787fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e86",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 226.667,
    "s": 36.735,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43822,
    "c": 0.09454,
    "h": 270.1
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#3E4E86
secondary
#ACA073
accent
#B35BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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