#3A4E72#3A4E72

#3A4E72 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.4% C 0.065 H 261.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3A4E72
RGBrgb(58, 78, 114)
HSLhsl(219, 33%, 34%)
HSVhsv(219, 49%, 45%)
CMYKcmyk(49.1%, 31.6%, 0%, 55.3%)
CIE-LABlab(33.05, 3.07, -23.08)
CIE-LCHlch(33.05, 23.28, 277.57°)
OKLaboklab(42.38% -0.0094 -0.0647)
OKLCHoklch(42.38% 0.065 261.7)
XYZxyz(7.5056, 7.5627, 16.9806)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E72 #725E3A
analogous
#3A6A72 #3A4E72 #423A72
triadic
#3A4E72 #723A4E #4E723A
tetradic
#3A4E72 #723A6A #725E3A #3A7242
square
#3A4E72 #723A6A #725E3A #3A7242
split-complementary
#3A4E72 #72423A #6A723A
monochromatic
#111621 #253249 #3A4E72 #4F6A9B #7089B6

Accessibility & contrast

On white

8.36
#3A4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E72
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E72#FFFFFF#000000##FFFFFF
##3A4E721.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415174
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#23565B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a4e72;
/* rgb */ color: rgb(58, 78, 114);
/* oklch */ color: oklch(42.4% 0.065 261.7);
Tailwind
colors: {
  custom: {
    50: '#737f9a',
    500: '#3a4e72',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e72;
$custom-light: #737f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e72",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 218.571,
    "s": 32.558,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.06536,
    "h": 261.7
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#3A4E72
secondary
#A08C68
accent
#A35FC9
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #3A4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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