#101238 color
The hex color #101238 is a very dark, moderate blue.
In the RGB color model it is made of 6.3% red, 7.1% green and 22% blue (16, 18, 56).
Its hue angle is 237°, with 56% saturation and 14% lightness. For print, the CMYK equivalent is 71% cyan, 68% magenta, 0% yellow and 78% 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 18.02:1).
#101238 color codes
| HEX | #101238 | |
|---|---|---|
| RGB | rgb(16, 18, 56) | |
| RGB percent | rgb(6.3%, 7.1%, 22%) | |
| HSL | hsl(237, 56%, 14%) | |
| HSV / HSB | hsv(237, 71%, 22%) | |
| CMYK | cmyk(71%, 68%, 0%, 78%) | |
| CIE LAB | lab(7.48, 13.36, -25.1) | |
| CIE LCH | lch(7.48, 28.44, 298.02) | |
| CIE XYZ | xyz(1.144, 0.828, 3.84) | |
| Decimal | 1053240 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #101238, 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 #101238 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 18.02:1 | Pass | Pass | Pass |
| #101238 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.02:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #101238 looks to people with the most common types of color vision deficiency.
#001839Protanopia
no red cones#001537Deuteranopia
no green cones#001b22Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #101238; }
.text { color: #101238; }
.border { border: 2px solid #101238; }
.transparent { background-color: rgb(16 18 56 / 50%); }
.gradient { background: linear-gradient(to right, #101238, #221038); }
Similar colors
#071037Infinite Night#03012dMidnight#111144Deadly Depths#00022eIllicit Darkness#000435Oblivion#211d49Azulado#060929Mysterious Depths#1c0f33Midnight Monarch
Closest common color name: Oxford Blue.
Questions
- What color is #101238?
- #101238 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 #101238?
- The RGB value is 16, 18, 56: 16 red, 18 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #101238?
- The complementary color is #383610, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #101238?
- White text. Black text has a contrast ratio of 1.17:1 and white text 18.02:1. WCAG asks for at least 4.5:1 for normal text.