#052D66

A color in the Blue, Sky, Navy family

#052d66 is a color in the Blue, Sky, Navy family: RGB(5, 45, 102), HSL(215°, 91%, 21%), CMYK(95%, 56%, 0%, 60%). Closest named color: midnightblue. Contrast is 13.34:1 on white and 1.57:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#052d66
RGBrgb(5 45 102)
RGB (legacy)rgb(5, 45, 102)
RGB %rgb(2% 18% 40%)
HSLhsl(215 91% 21%)
HSV / HSBhsv(215, 95%, 40%)
HWBhwb(215 2% 60%)
CMYKcmyk(95%, 56%, 0%, 60%)
CIELAB (D50)lab(18.89 6.49 -37.98)
LCHlch(18.89 38.53 279.7)
OKLaboklab(0.3099 -0.0215 -0.1072)
OKLCHoklch(0.3099 0.1093 258.66)
Decimal339302

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 5.1
Closest web-safe color#003366
Hue215°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)21%
Brightness or Value (HSV)40%
Luminance (Rec.601 / Rec.709)16% / 16%
Relative luminance (WCAG)0.0287
Red / Green / Blue5 / 45 / 102

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.34:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.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 99.3 / 0 · As background with white / black text: Lc -102.5 / 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: #052d66;
  --color-brand-oklch: oklch(30.99% 0.1093 258.66);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 45 102 / 50%); }
/* Tailwind CSS */
<div class="bg-[#052d66] text-[#052d66] border-[#052d66]">