#03104F

A color in the Blue, Sky, Navy family

#03104f is a color in the Blue, Sky, Navy family: RGB(3, 16, 79), HSL(230°, 93%, 16%), CMYK(96%, 80%, 0%, 69%). Closest named color: midnightblue. Contrast is 17.63:1 on white and 1.19:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#03104f
RGBrgb(3 16 79)
RGB (legacy)rgb(3, 16, 79)
RGB %rgb(1% 6% 31%)
HSLhsl(230 93% 16%)
HSV / HSBhsv(230, 96%, 31%)
HWBhwb(230 1% 69%)
CMYKcmyk(96%, 80%, 0%, 69%)
CIELAB (D50)lab(7.82 18.07 -40.68)
LCHlch(7.82 44.52 293.95)
OKLaboklab(0.2214 -0.0094 -0.1147)
OKLCHoklch(0.2214 0.1151 265.32)
Decimal200783

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 7.4
Closest web-safe color#000066
Hue230°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)16%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)8% / 7%
Relative luminance (WCAG)0.0095
Red / Green / Blue3 / 16 / 79

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.19: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 103.8 / 0 · As background with white / black text: Lc -106.2 / 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: #03104f;
  --color-brand-oklch: oklch(22.14% 0.1151 265.32);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(3 16 79 / 50%); }
/* Tailwind CSS */
<div class="bg-[#03104f] text-[#03104f] border-[#03104f]">