#052D64

A color in the Blue, Sky, Navy family

#052d64 is a color in the Blue, Sky, Navy family: RGB(5, 45, 100), HSL(215°, 90%, 21%), CMYK(95%, 55%, 0%, 61%). Closest named color: midnightblue. Contrast is 13.41:1 on white and 1.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#052d64
RGBrgb(5 45 100)
RGB (legacy)rgb(5, 45, 100)
RGB %rgb(2% 18% 39%)
HSLhsl(215 90% 21%)
HSV / HSBhsv(215, 95%, 39%)
HWBhwb(215 2% 61%)
CMYKcmyk(95%, 55%, 0%, 61%)
CIELAB (D50)lab(18.75 5.72 -36.9)
LCHlch(18.75 37.34 278.82)
OKLaboklab(0.3081 -0.0218 -0.1041)
OKLCHoklch(0.3081 0.1063 258.18)
Decimal339300

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.41: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.4 / 0 · As background with white / black text: Lc -102.6 / 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: #052d64;
  --color-brand-oklch: oklch(30.81% 0.1063 258.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 45 100 / 50%); }
/* Tailwind CSS */
<div class="bg-[#052d64] text-[#052d64] border-[#052d64]">