#0F2C8A
A dark, vivid blue closely aligning with Midnightblue.
About #0F2C8A
At its core, #0F2C8A is a dark and vivid hue. Designers often compare it to the standard color Midnightblue. In the RGB color space, it consists of 15 red, 44 green, and 138 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 89% Cyan, 68% Magenta, 0% Yellow, and 46% Black. Always request a physical proof before doing a large print run with this exact code.
From a UX and accessibility standpoint, contrast is paramount. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#0F2C8A
RGB15, 44, 138
HSL225.9°, 80.4%, 30.0%
CMYK89%, 68%, 0%, 46%
HSV225.9°, 89.1%, 54.1%
LAB22.8, 28.4, -54.7
XYZ5.7, 3.7, 24.5
Decimal994442
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
12.02:1
Text on #FFFFFF
AAA
1.75:1
Text on #000000
FAIL
11.49:1
Text on #F8FAFC
AAA
1.49:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F2C8A;
}
.text-color {
color: #0F2C8A;
}
.border-color {
border: 2px solid #0F2C8A;
}