#052D5D

A color in the Blue, Sky, Navy family

#052d5d is a color in the Blue, Sky, Navy family: RGB(5, 45, 93), HSL(213°, 90%, 19%), CMYK(95%, 52%, 0%, 64%). Closest named color: midnightblue. Contrast is 13.64:1 on white and 1.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#052d5d
RGBrgb(5 45 93)
RGB (legacy)rgb(5, 45, 93)
RGB %rgb(2% 18% 36%)
HSLhsl(213 90% 19%)
HSV / HSBhsv(213, 95%, 36%)
HWBhwb(213 2% 64%)
CMYKcmyk(95%, 52%, 0%, 64%)
CIELAB (D50)lab(18.27 3.04 -33.07)
LCHlch(18.27 33.21 275.25)
OKLaboklab(0.3021 -0.023 -0.0931)
OKLCHoklch(0.3021 0.0959 256.13)
Decimal339293

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 6
Closest web-safe color#003366
Hue213°
Saturation (HSL / HSV)90% / 95%
Lightness (HSL)19%
Brightness or Value (HSV)36%
Luminance (Rec.601 / Rec.709)15% / 16%
Relative luminance (WCAG)0.027
Red / Green / Blue5 / 45 / 93

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.54: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.7 / 0 · As background with white / black text: Lc -102.9 / 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: #052d5d;
  --color-brand-oklch: oklch(30.21% 0.0959 256.13);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 45 93 / 50%); }
/* Tailwind CSS */
<div class="bg-[#052d5d] text-[#052d5d] border-[#052d5d]">