#021663

A color in the Blue, Sky, Navy family

#021663 is a color in the Blue, Sky, Navy family: RGB(2, 22, 99), HSL(228°, 96%, 20%), CMYK(98%, 78%, 0%, 61%). Closest named color: midnightblue. Contrast is 16.18:1 on white and 1.3:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#021663
RGBrgb(2 22 99)
RGB (legacy)rgb(2, 22, 99)
RGB %rgb(1% 9% 39%)
HSLhsl(228 96% 20%)
HSV / HSBhsv(228, 98%, 39%)
HWBhwb(228 1% 61%)
CMYKcmyk(98%, 78%, 0%, 61%)
CIELAB (D50)lab(11.59 21.18 -47.96)
LCHlch(11.59 52.42 293.83)
OKLaboklab(0.2567 -0.0135 -0.1352)
OKLCHoklch(0.2567 0.1359 264.29)
Decimal136803

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 3.8
Closest web-safe color#000066
Hue228°
Saturation (HSL / HSV)96% / 98%
Lightness (HSL)20%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)10% / 9%
Relative luminance (WCAG)0.0149
Red / Green / Blue2 / 22 / 99

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.30: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.4 / 0 · As background with white / black text: Lc -105 / 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: #021663;
  --color-brand-oklch: oklch(25.67% 0.1359 264.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 22 99 / 50%); }
/* Tailwind CSS */
<div class="bg-[#021663] text-[#021663] border-[#021663]">