#041D64

A color in the Blue, Sky, Navy family

#041d64 is a color in the Blue, Sky, Navy family: RGB(4, 29, 100), HSL(224°, 92%, 20%), CMYK(96%, 71%, 0%, 61%). Closest named color: midnightblue. Contrast is 15.39:1 on white and 1.36:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#041d64
RGBrgb(4 29 100)
RGB (legacy)rgb(4, 29, 100)
RGB %rgb(2% 11% 39%)
HSLhsl(224 92% 20%)
HSV / HSBhsv(224, 96%, 39%)
HWBhwb(224 2% 61%)
CMYKcmyk(96%, 71%, 0%, 61%)
CIELAB (D50)lab(13.71 16.89 -45.11)
LCHlch(13.71 48.17 290.52)
OKLaboklab(0.2719 -0.0138 -0.1274)
OKLCHoklch(0.2719 0.1282 263.84)
Decimal269668

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 3.1
Closest web-safe color#003366
Hue224°
Saturation (HSL / HSV)92% / 96%
Lightness (HSL)20%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)12% / 11%
Relative luminance (WCAG)0.0182
Red / Green / Blue4 / 29 / 100

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.39:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.36: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 101.7 / 0 · As background with white / black text: Lc -104.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: #041d64;
  --color-brand-oklch: oklch(27.19% 0.1282 263.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 29 100 / 50%); }
/* Tailwind CSS */
<div class="bg-[#041d64] text-[#041d64] border-[#041d64]">