#2E4A76#2E4A76

#2E4A76 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 40.9% C 0.082 H 259.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2E4A76
RGBrgb(46, 74, 118)
HSLhsl(217, 44%, 32%)
HSVhsv(217, 61%, 46%)
CMYKcmyk(61%, 37.3%, 0%, 53.7%)
CIE-LABlab(31.31, 4.08, -28.36)
CIE-LCHlch(31.31, 28.65, 278.18°)
OKLaboklab(40.9% -0.0154 -0.0803)
OKLCHoklch(40.9% 0.082 259.1)
XYZxyz(6.8444, 6.7858, 18.0851)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A76 #765A2E
analogous
#2E6E76 #2E4A76 #362E76
triadic
#2E4A76 #762E4A #4A762E
tetradic
#2E4A76 #762E6E #765A2E #2E7636
square
#2E4A76 #762E6E #765A2E #2E7636
split-complementary
#2E4A76 #76362E #6E762E
monochromatic
#0C131E #1D2E4A #2E4A76 #3F66A2 #5E84C0

Accessibility & contrast

On white

8.91
#2E4A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E4A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A76
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A76#FFFFFF#000000##FFFFFF
##2E4A761.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D78
Deuteranopia (green-blind)
#2E4775
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4a76;
/* rgb */ color: rgb(46, 74, 118);
/* oklch */ color: oklch(40.9% 0.082 259.1);
Tailwind
colors: {
  custom: {
    50: '#6d7c9e',
    500: '#2e4a76',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a76;
$custom-light: #6d7c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a76",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 118
  },
  "hsl": {
    "h": 216.667,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40899,
    "c": 0.08175,
    "h": 259.1
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#2E4A76
secondary
#A78959
accent
#A254D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4A76

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

Preview Lab → · Contrast checker → · Palette generator →

#2E4A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva