#0F226B color
The hex color #0F226B is a dark, moderate blue.
In the RGB color model it is made of 5.9% red, 13.3% green and 42% blue (15, 34, 107).
Its hue angle is 228°, with 75% saturation and 24% lightness. For print, the CMYK equivalent is 86% cyan, 68% magenta, 0% yellow and 58% black.
The closest named color is Midnight Crest (#112473), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.37:1).
#0F226B color codes
| HEX | #0F226B | |
|---|---|---|
| RGB | rgb(15, 34, 107) | |
| RGB percent | rgb(5.9%, 13.3%, 42%) | |
| HSL | hsl(228, 75%, 24%) | |
| HSV / HSB | hsv(228, 86%, 42%) | |
| CMYK | cmyk(86%, 68%, 0%, 58%) | |
| CIE LAB | lab(17.02, 22.77, -44.42) | |
| CIE LCH | lch(17.02, 49.92, 297.14) | |
| CIE XYZ | xyz(3.422, 2.307, 14.172) | |
| Decimal | 991851 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F226B, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #0F226B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.37:1 | Pass | Pass | Pass |
| #0F226B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.37:1 | Pass | Pass | Pass |
| Sample text | 1.46:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #0F226B looks to people with the most common types of color vision deficiency.
#002e6dProtanopia
no red cones#00266aDeuteranopia
no green cones#003543Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #0f226b; }
.text { color: #0f226b; }
.border { border: 2px solid #0f226b; }
.transparent { background-color: rgb(15 34 107 / 50%); }
.gradient { background: linear-gradient(to right, #0f226b, #2a0f6b); }
Similar colors
#112473Midnight Crest#002266Midnight Melancholia#082567Dark Sapphire#002366Deep Sea Nightmare#002277Long-Haul Flight#052462Black Sea Night#222266Intergalactic Cowboy#191970Midnight Blue
Questions
- What color is #0F226B?
- #0F226B is a dark, moderate blue, closest to the named color Midnight Crest. It belongs to the blue family of colors.
- What is the RGB value of #0F226B?
- The RGB value is 15, 34, 107: 15 red, 34 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #0F226B?
- The complementary color is #6B580F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F226B?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.37:1. WCAG asks for at least 4.5:1 for normal text.