#0F226B color

#0F226B rgb(15, 34, 107)
Shades of blue

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
RGBrgb(15, 34, 107)
RGB percentrgb(5.9%, 13.3%, 42%)
HSLhsl(228, 75%, 24%)
HSV / HSBhsv(228, 86%, 42%)
CMYKcmyk(86%, 68%, 0%, 58%)
CIE LABlab(17.02, 22.77, -44.42)
CIE LCHlch(17.02, 49.92, 297.14)
CIE XYZxyz(3.422, 2.307, 14.172)
Decimal991851
Short hexNone (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 #0F226BRatioAAAAAAA large
Sample text1.46:1FailFailFail
Sample text14.37:1PassPassPass
#0F226B as text onRatioAAAAAAA large
Sample text14.37:1PassPassPass
Sample text1.46:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.