#3E4486#3E4486

#3E4486 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.6% C 0.109 H 276.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3E4486
RGBrgb(62, 68, 134)
HSLhsl(235, 37%, 38%)
HSVhsv(235, 54%, 53%)
CMYKcmyk(53.7%, 49.3%, 0%, 47.5%)
CIE-LABlab(31.53, 17.45, -37.91)
CIE-LCHlch(31.53, 41.74, 294.71°)
OKLaboklab(41.65% 0.0126 -0.108)
OKLCHoklch(41.65% 0.109 276.7)
XYZxyz(8.3554, 6.8791, 23.4371)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4486 #86803E
analogous
#3E6886 #3E4486 #5C3E86
triadic
#3E4486 #863E44 #44863E
tetradic
#3E4486 #863E68 #86803E #3E865C
square
#3E4486 #863E68 #86803E #3E865C
split-complementary
#3E4486 #865C3E #68863E
monochromatic
#171A32 #2B2F5C #3E4486 #525AAF #7C82C2

Accessibility & contrast

On white

8.84
#3E4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4486
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4486#FFFFFF#000000##FFFFFF
##3E44861.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#1F525E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e4486;
/* rgb */ color: rgb(62, 68, 134);
/* oklch */ color: oklch(41.6% 0.109 276.7);
Tailwind
colors: {
  custom: {
    50: '#7977aa',
    500: '#3e4486',
    950: '#000000',
  },
}
SCSS
$custom: #3e4486;
$custom-light: #7977aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4486",
  "rgb": {
    "r": 62,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 235,
    "s": 36.735,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.1087,
    "h": 276.7
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#3E4486
secondary
#ACA873
accent
#C35BCD
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #3E4486

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

Preview Lab → · Contrast checker → · Palette generator →

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