#3E5784#3E5784

#3E5784 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.080 H 261.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3E5784
RGBrgb(62, 87, 132)
HSLhsl(219, 36%, 38%)
HSVhsv(219, 53%, 52%)
CMYKcmyk(53%, 34.1%, 0%, 48.2%)
CIE-LABlab(36.94, 4.32, -28.10)
CIE-LCHlch(36.94, 28.43, 278.75°)
OKLaboklab(45.77% -0.0117 -0.0791)
OKLCHoklch(45.77% 0.08 261.6)
XYZxyz(9.5583, 9.5058, 23.1564)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5784 #846B3E
analogous
#3E7A84 #3E5784 #483E84
triadic
#3E5784 #843E57 #57843E
tetradic
#3E5784 #843E7A #846B3E #3E8448
square
#3E5784 #843E7A #846B3E #3E8448
split-complementary
#3E5784 #84483E #7A843E
monochromatic
#172031 #2A3C5A #3E5784 #5272AE #7B94C1

Accessibility & contrast

On white

7.24
#3E5784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3E5784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5784
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5784#FFFFFF#000000##FFFFFF
##3E57841.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A86
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#1C6167
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e5784;
/* rgb */ color: rgb(62, 87, 132);
/* oklch */ color: oklch(45.8% 0.080 261.6);
Tailwind
colors: {
  custom: {
    50: '#7886a8',
    500: '#3e5784',
    950: '#000000',
  },
}
SCSS
$custom: #3e5784;
$custom-light: #7886a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5784",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 218.571,
    "s": 36.082,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.07999,
    "h": 261.6
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#3E5784
secondary
#AB9773
accent
#A45CCC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #3E5784

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

Preview Lab → · Contrast checker → · Palette generator →

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