#3E4584#3E4584

#3E4584 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.7% C 0.104 H 276.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3E4584
RGBrgb(62, 69, 132)
HSLhsl(234, 36%, 38%)
HSVhsv(234, 53%, 52%)
CMYKcmyk(53%, 47.7%, 0%, 48.2%)
CIE-LABlab(31.68, 16.10, -36.43)
CIE-LCHlch(31.68, 39.83, 293.85°)
OKLaboklab(41.72% 0.0111 -0.1036)
OKLCHoklch(41.72% 0.104 276.1)
XYZxyz(8.2783, 6.9458, 22.7298)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4584 #847D3E
analogous
#3E6884 #3E4584 #5A3E84
triadic
#3E4584 #843E45 #45843E
tetradic
#3E4584 #843E68 #847D3E #3E845A
square
#3E4584 #843E68 #847D3E #3E845A
split-complementary
#3E4584 #845A3E #68843E
monochromatic
#171931 #2A2F5A #3E4584 #525BAE #7B82C1

Accessibility & contrast

On white

8.79
#3E4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4584
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4584#FFFFFF#000000##FFFFFF
##3E45841.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E86
Deuteranopia (green-blind)
#224883
Tritanopia (blue-blind)
#20535E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e4584;
/* rgb */ color: rgb(62, 69, 132);
/* oklch */ color: oklch(41.7% 0.104 276.1);
Tailwind
colors: {
  custom: {
    50: '#7878a8',
    500: '#3e4584',
    950: '#000000',
  },
}
SCSS
$custom: #3e4584;
$custom-light: #7878a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4584",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 234,
    "s": 36.082,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.1042,
    "h": 276.1
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#3E4584
secondary
#ABA673
accent
#C15CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3E4584

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

Preview Lab → · Contrast checker → · Palette generator →

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