#0F1663

A color in the Blue, Sky, Navy family

#0f1663 is a color in the Blue, Sky, Navy family: RGB(15, 22, 99), HSL(235°, 74%, 22%), CMYK(85%, 78%, 0%, 61%). Closest named color: midnightblue. Contrast is 15.97:1 on white and 1.32:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#0f1663
RGBrgb(15 22 99)
RGB (legacy)rgb(15, 22, 99)
RGB %rgb(6% 9% 39%)
HSLhsl(235 74% 22%)
HSV / HSBhsv(235, 85%, 39%)
HWBhwb(235 6% 61%)
CMYKcmyk(85%, 78%, 0%, 61%)
CIELAB (D50)lab(12.21 22.4 -46.91)
LCHlch(12.21 51.98 295.52)
OKLaboklab(0.2623 -0.0013 -0.1322)
OKLCHoklch(0.2623 0.1322 269.45)
Decimal988771

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 2.9
Closest web-safe color#000066
Hue235°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)22%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)11% / 10%
Relative luminance (WCAG)0.0158
Red / Green / Blue15 / 22 / 99

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.97:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.32: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.3 / 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: #0f1663;
  --color-brand-oklch: oklch(26.23% 0.1322 269.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(15 22 99 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0f1663] text-[#0f1663] border-[#0f1663]">