#2E4B76#2E4B76

#2E4B76 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.1% C 0.081 H 258.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2E4B76
RGBrgb(46, 75, 118)
HSLhsl(216, 44%, 32%)
HSVhsv(216, 61%, 46%)
CMYKcmyk(61%, 36.4%, 0%, 53.7%)
CIE-LABlab(31.63, 3.42, -27.87)
CIE-LCHlch(31.63, 28.08, 276.99°)
OKLaboklab(41.14% -0.0167 -0.0788)
OKLCHoklch(41.14% 0.081 258.1)
XYZxyz(6.9117, 6.9204, 18.1076)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B76 #76592E
analogous
#2E6F76 #2E4B76 #352E76
triadic
#2E4B76 #762E4B #4B762E
tetradic
#2E4B76 #762E6F #76592E #2E7635
square
#2E4B76 #762E6F #76592E #2E7635
split-complementary
#2E4B76 #76352E #6F762E
monochromatic
#0C131E #1D2F4A #2E4B76 #3F67A2 #5E86C0

Accessibility & contrast

On white

8.81
#2E4B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E4B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B76
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B76#FFFFFF#000000##FFFFFF
##2E4B761.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E78
Deuteranopia (green-blind)
#304775
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4b76;
/* rgb */ color: rgb(46, 75, 118);
/* oklch */ color: oklch(41.1% 0.081 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7d9e',
    500: '#2e4b76',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b76;
$custom-light: #6d7d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b76",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 118
  },
  "hsl": {
    "h": 215.833,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41141,
    "c": 0.08058,
    "h": 258.1
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#2E4B76
secondary
#A78759
accent
#A054D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4B76

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

Preview Lab → · Contrast checker → · Palette generator →

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