#030D5E

A color in the Blue, Sky, Navy family

#030d5e is a color in the Blue, Sky, Navy family: RGB(3, 13, 94), HSL(233°, 94%, 19%), CMYK(97%, 86%, 0%, 63%). Closest named color: midnightblue. Contrast is 17.17:1 on white and 1.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#030d5e
RGBrgb(3 13 94)
RGB (legacy)rgb(3, 13, 94)
RGB %rgb(1% 5% 37%)
HSLhsl(233 94% 19%)
HSV / HSBhsv(233, 97%, 37%)
HWBhwb(233 1% 63%)
CMYKcmyk(97%, 86%, 0%, 63%)
CIELAB (D50)lab(8.89 25.28 -49.1)
LCHlch(8.89 55.23 297.24)
OKLaboklab(0.2364 -0.0107 -0.1379)
OKLCHoklch(0.2364 0.1383 265.54)
Decimal200030

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 5.5
Closest web-safe color#000066
Hue233°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)19%
Brightness or Value (HSV)37%
Luminance (Rec.601 / Rec.709)8% / 7%
Relative luminance (WCAG)0.0112
Red / Green / Blue3 / 13 / 94

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.17: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 103.2 / 0 · As background with white / black text: Lc -105.7 / 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: #030d5e;
  --color-brand-oklch: oklch(23.64% 0.1383 265.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(3 13 94 / 50%); }
/* Tailwind CSS */
<div class="bg-[#030d5e] text-[#030d5e] border-[#030d5e]">