#0F166D

A dark, vivid blue closely aligning with Midnightblue.

About #0F166D

The hex code #0F166D represents a beautifully specific shade of blue. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(15, 22, 109).

Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 86% cyan, 80% magenta, 0% yellow, and 57% black. The HSL representation is 235.5° hue, 75.8% saturation, and 24.3% lightness.

From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#0F166D
RGB15, 22, 109
HSL235.5°, 75.8%, 24.3%
CMYK86%, 80%, 0%, 57%
HSV235.5°, 86.2%, 42.7%
LAB14.3, 31.7, -50.2
XYZ3.2, 1.8, 14.6
Decimal988781

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.49:1
Text on #FFFFFF
AAA
1.36:1
Text on #000000
FAIL
14.80:1
Text on #F8FAFC
AAA
1.15:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #0F166D; }
.text-color { color: #0F166D; }
.border-color { border: 2px solid #0F166D; }

Similar Colors

Midnightblue
#191970