#2B4E8A

A color in the Blue, Sky, Navy family

#2b4e8a is a color in the Blue, Sky, Navy family: RGB(43, 78, 138), HSL(218°, 52%, 35%), CMYK(69%, 43%, 0%, 46%). Closest named color: darkslateblue. Contrast is 8.2:1 on white and 2.56:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b4e8a
RGBrgb(43 78 138)
RGB (legacy)rgb(43, 78, 138)
RGB %rgb(17% 31% 54%)
HSLhsl(218 52% 35%)
HSV / HSBhsv(218, 69%, 54%)
HWBhwb(218 17% 46%)
CMYKcmyk(69%, 43%, 0%, 46%)
CIELAB (D50)lab(33.01 3.37 -37.93)
LCHlch(33.01 38.08 275.08)
OKLaboklab(0.4298 -0.0178 -0.1062)
OKLCHoklch(0.4298 0.1077 260.46)
Decimal2838154

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 5.6
Closest web-safe color#336699
Hue218°
Saturation (HSL / HSV)52% / 69%
Lightness (HSL)35%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)29% / 29%
Relative luminance (WCAG)0.078
Red / Green / Blue43 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.20:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.56: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.1 / -14 · As background with white / black text: Lc -92.8 / 15.9

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: #2b4e8a;
  --color-brand-oklch: oklch(42.98% 0.1077 260.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b4e8a] text-[#2b4e8a] border-[#2b4e8a]">