#3E4772#3E4772

#3E4772 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.073 H 273.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3E4772
RGBrgb(62, 71, 114)
HSLhsl(230, 30%, 35%)
HSVhsv(230, 46%, 45%)
CMYKcmyk(45.6%, 37.7%, 0%, 55.3%)
CIE-LABlab(31.22, 8.77, -25.93)
CIE-LCHlch(31.22, 27.38, 288.69°)
OKLaboklab(41.03% 0.0048 -0.0729)
OKLCHoklch(41.03% 0.073 273.8)
XYZxyz(7.2762, 6.7451, 16.8349)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4772 #72693E
analogous
#3E6172 #3E4772 #4F3E72
triadic
#3E4772 #723E47 #47723E
tetradic
#3E4772 #723E61 #72693E #3E724F
square
#3E4772 #723E61 #72693E #3E724F
split-complementary
#3E4772 #724F3E #61723E
monochromatic
#131623 #282E4A #3E4772 #54609A #7681B4

Accessibility & contrast

On white

8.94
#3E4772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3E4772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4772
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4772#FFFFFF#000000##FFFFFF
##3E47721.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#334771
Tritanopia (blue-blind)
#2C5057
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e4772;
/* rgb */ color: rgb(62, 71, 114);
/* oklch */ color: oklch(41.0% 0.073 273.8);
Tailwind
colors: {
  custom: {
    50: '#767a9b',
    500: '#3e4772',
    950: '#000000',
  },
}
SCSS
$custom: #3e4772;
$custom-light: #767a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4772",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 229.615,
    "s": 29.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.07306,
    "h": 273.8
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#3E4772
secondary
#9F966D
accent
#B562C6
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090E
muted
#7B7B7E

Preview Lab

Preview with #3E4772

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

Preview Lab → · Contrast checker → · Palette generator →

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