#052D52

A color in the Blue, Sky, Navy family

#052d52 is a color in the Blue, Sky, Navy family: RGB(5, 45, 82), HSL(209°, 89%, 17%), CMYK(94%, 45%, 0%, 68%). Closest named color: midnightblue. Contrast is 13.97:1 on white and 1.5:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#052d52
RGBrgb(5 45 82)
RGB (legacy)rgb(5, 45, 82)
RGB %rgb(2% 18% 32%)
HSLhsl(209 89% 17%)
HSV / HSBhsv(209, 94%, 32%)
HWBhwb(209 2% 68%)
CMYKcmyk(94%, 45%, 0%, 68%)
CIELAB (D50)lab(17.58 -1.16 -26.87)
LCHlch(17.58 26.89 267.53)
OKLaboklab(0.2934 -0.0255 -0.0753)
OKLCHoklch(0.2934 0.0795 251.28)
Decimal339282

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 7.6
Closest web-safe color#003366
Hue209°
Saturation (HSL / HSV)89% / 94%
Lightness (HSL)17%
Brightness or Value (HSV)32%
Luminance (Rec.601 / Rec.709)15% / 15%
Relative luminance (WCAG)0.0252
Red / Green / Blue5 / 45 / 82

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.97:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.50: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 100.3 / 0 · As background with white / black text: Lc -103.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: #052d52;
  --color-brand-oklch: oklch(29.34% 0.0795 251.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 45 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#052d52] text-[#052d52] border-[#052d52]">