#052D6B

A color in the Blue, Sky, Navy family

#052d6b is a color in the Blue, Sky, Navy family: RGB(5, 45, 107), HSL(216°, 91%, 22%), CMYK(95%, 58%, 0%, 58%). Closest named color: midnightblue. Contrast is 13.17:1 on white and 1.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#052d6b
RGBrgb(5 45 107)
RGB (legacy)rgb(5, 45, 107)
RGB %rgb(2% 18% 42%)
HSLhsl(216 91% 22%)
HSV / HSBhsv(216, 95%, 42%)
HWBhwb(216 2% 58%)
CMYKcmyk(95%, 58%, 0%, 58%)
CIELAB (D50)lab(19.25 8.41 -40.63)
LCHlch(19.25 41.49 281.69)
OKLaboklab(0.3144 -0.0209 -0.1147)
OKLCHoklch(0.3144 0.1166 259.69)
Decimal339307

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 4.8
Closest web-safe color#003366
Hue216°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)22%
Brightness or Value (HSV)42%
Luminance (Rec.601 / Rec.709)16% / 16%
Relative luminance (WCAG)0.0297
Red / Green / Blue5 / 45 / 107

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.17:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.59: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 98.9 / 0 · As background with white / black text: Lc -102.3 / 0

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: #052d6b;
  --color-brand-oklch: oklch(31.44% 0.1166 259.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 45 107 / 50%); }
/* Tailwind CSS */
<div class="bg-[#052d6b] text-[#052d6b] border-[#052d6b]">