#2B4792

A color in the Blue, Sky, Navy family

#2b4792 is a color in the Blue, Sky, Navy family: RGB(43, 71, 146), HSL(224°, 54%, 37%), CMYK(71%, 51%, 0%, 43%). Closest named color: darkslateblue. Contrast is 8.68:1 on white and 2.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2b4792
RGBrgb(43 71 146)
RGB (legacy)rgb(43, 71, 146)
RGB %rgb(17% 28% 57%)
HSLhsl(224 54% 37%)
HSV / HSBhsv(224, 71%, 57%)
HWBhwb(224 17% 43%)
CMYKcmyk(71%, 51%, 0%, 43%)
CIELAB (D50)lab(31.34 10.25 -45.47)
LCHlch(31.34 46.61 282.71)
OKLaboklab(0.4197 -0.0096 -0.1279)
OKLCHoklch(0.4197 0.1283 265.72)
Decimal2836370

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 4.5
Closest web-safe color#333399
Hue224°
Saturation (HSL / HSV)54% / 71%
Lightness (HSL)37%
Brightness or Value (HSV)57%
Luminance (Rec.601 / Rec.709)28% / 28%
Relative luminance (WCAG)0.071
Red / Green / Blue43 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.42: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 89.4 / -12.8 · As background with white / black text: Lc -94 / 14.5

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: #2b4792;
  --color-brand-oklch: oklch(41.97% 0.1283 265.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b4792] text-[#2b4792] border-[#2b4792]">