#040468

A color in the Blue, Sky, Navy family

#040468 is a color in the Blue, Sky, Navy family: RGB(4, 4, 104), HSL(240°, 93%, 21%), CMYK(96%, 96%, 0%, 59%). Closest named color: navy. Contrast is 17.18:1 on white and 1.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#040468
RGBrgb(4 4 104)
RGB (legacy)rgb(4, 4, 104)
RGB %rgb(2% 2% 41%)
HSLhsl(240 93% 21%)
HSV / HSBhsv(240, 96%, 41%)
HWBhwb(240 2% 59%)
CMYKcmyk(96%, 96%, 0%, 59%)
CIELAB (D50)lab(8.6 33.18 -56.23)
LCHlch(8.6 65.29 300.54)
OKLaboklab(0.2405 -0.0111 -0.1569)
OKLCHoklch(0.2405 0.1573 265.95)
Decimal263272

Properties

Color ToneBlue, Sky, Navy
Closest named colornavy ΔE 4.4
Closest web-safe color#000066
Hue240°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)21%
Brightness or Value (HSV)41%
Luminance (Rec.601 / Rec.709)6% / 4%
Relative luminance (WCAG)0.0111
Red / Green / Blue4 / 4 / 104

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.22: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 102.7 / 0 · As background with white / black text: Lc -105.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: #040468;
  --color-brand-oklch: oklch(24.05% 0.1573 265.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 4 104 / 50%); }
/* Tailwind CSS */
<div class="bg-[#040468] text-[#040468] border-[#040468]">