#0A123E color

#0A123E rgb(10, 18, 62)
Shades of black

The hex color #0A123E is a very dark, moderate blue.

In the RGB color model it is made of 3.9% red, 7.1% green and 24.3% blue (10, 18, 62).

Its hue angle is 231°, with 72% saturation and 14% lightness. For print, the CMYK equivalent is 84% cyan, 71% magenta, 0% yellow and 76% black.

The closest named color is Infinite Night (#071037), a difference of 1.7 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 17.96:1).

#0A123E color codes

HEX#0A123E
RGBrgb(10, 18, 62)
RGB percentrgb(3.9%, 7.1%, 24.3%)
HSLhsl(231, 72%, 14%)
HSV / HSBhsv(231, 84%, 24%)
CMYKcmyk(84%, 71%, 0%, 76%)
CIE LABlab(7.63, 14.91, -29.19)
CIE LCHlch(7.63, 32.78, 297.06)
CIE XYZxyz(1.211, 0.845, 4.656)
Decimal660030
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0A123E, 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 #0A123ERatioAAAAAAA large
Sample text1.17:1FailFailFail
Sample text17.96:1PassPassPass
#0A123E as text onRatioAAAAAAA large
Sample text17.96:1PassPassPass
Sample text1.17: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 #0A123E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0a123e; }
.text { color: #0a123e; }
.border { border: 2px solid #0a123e; }
.transparent { background-color: rgb(10 18 62 / 50%); }
.gradient { background: linear-gradient(to right, #0a123e, #1c0a3e); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #0A123E?
#0A123E is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
What is the RGB value of #0A123E?
The RGB value is 10, 18, 62: 10 red, 18 green and 62 blue on a 0 to 255 scale.
What is the complementary color of #0A123E?
The complementary color is #3E360A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0A123E?
White text. Black text has a contrast ratio of 1.17:1 and white text 17.96:1. WCAG asks for at least 4.5:1 for normal text.