#2E4E8A

A color in the Blue, Sky, Navy family

#2e4e8a is a color in the Blue, Sky, Navy family: RGB(46, 78, 138), HSL(219°, 50%, 36%), CMYK(67%, 43%, 0%, 46%). Closest named color: darkslateblue. Contrast is 8.16:1 on white and 2.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2e4e8a
RGBrgb(46 78 138)
RGB (legacy)rgb(46, 78, 138)
RGB %rgb(18% 31% 54%)
HSLhsl(219 50% 36%)
HSV / HSBhsv(219, 67%, 54%)
HWBhwb(219 18% 46%)
CMYKcmyk(67%, 43%, 0%, 46%)
CIELAB (D50)lab(33.16 4 -37.67)
LCHlch(33.16 37.89 276.06)
OKLaboklab(0.4313 -0.0152 -0.1054)
OKLCHoklch(0.4313 0.1065 261.8)
Decimal3034762

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 5.4
Closest web-safe color#336699
Hue219°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)36%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)30% / 30%
Relative luminance (WCAG)0.0786
Red / Green / Blue46 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.16:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.57:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 88 / -14.2 · As background with white / black text: Lc -92.7 / 16

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2e4e8a;
  --color-brand-oklch: oklch(43.13% 0.1065 261.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(46 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2e4e8a] text-[#2e4e8a] border-[#2e4e8a]">