#0F248A
A dark, vivid blue closely aligning with Midnightblue.
About #0F248A
When working with digital screens, the color #0F248A is rendered by mixing light. Designers often compare it to the standard color Midnightblue. Its digital footprint relies on 15 parts red, 36 parts green, and 138 parts blue light.
Translating this color to physical media requires the CMYK color model. The color uses 89% Cyan, 74% Magenta, 0% Yellow, and 46% Black. Always request a physical proof before doing a large print run with this exact code.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#0F248A
RGB15, 36, 138
HSL229.8°, 80.4%, 30.0%
CMYK89%, 74%, 0%, 46%
HSV229.8°, 89.1%, 54.1%
LAB20.8, 33.7, -58.0
XYZ5.4, 3.2, 24.4
Decimal992394
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
12.81:1
Text on #FFFFFF
AAA
1.64:1
Text on #000000
FAIL
12.24:1
Text on #F8FAFC
AAA
1.39:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F248A;
}
.text-color {
color: #0F248A;
}
.border-color {
border: 2px solid #0F248A;
}