#3E4E72#3E4E72

#3E4E72 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.064 H 265.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3E4E72
RGBrgb(62, 78, 114)
HSLhsl(222, 30%, 35%)
HSVhsv(222, 46%, 45%)
CMYKcmyk(45.6%, 31.6%, 0%, 55.3%)
CIE-LABlab(33.32, 4.19, -22.64)
CIE-LCHlch(33.32, 23.02, 280.49°)
OKLaboklab(42.66% -0.005 -0.0633)
OKLCHoklch(42.66% 0.064 265.5)
XYZxyz(7.7473, 7.6874, 16.9919)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E72 #72623E
analogous
#3E6872 #3E4E72 #483E72
triadic
#3E4E72 #723E4E #4E723E
tetradic
#3E4E72 #723E68 #72623E #3E7248
square
#3E4E72 #723E68 #72623E #3E7248
split-complementary
#3E4E72 #72483E #68723E
monochromatic
#131823 #28334A #3E4E72 #54699A #7689B4

Accessibility & contrast

On white

8.28
#3E4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3E4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E72
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E72#FFFFFF#000000##FFFFFF
##3E4E721.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415174
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#2B565B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e4e72;
/* rgb */ color: rgb(62, 78, 114);
/* oklch */ color: oklch(42.7% 0.064 265.5);
Tailwind
colors: {
  custom: {
    50: '#767f9a',
    500: '#3e4e72',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e72;
$custom-light: #767f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e72",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 221.538,
    "s": 29.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.06354,
    "h": 265.5
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#3E4E72
secondary
#9F906D
accent
#A762C6
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #3E4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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