#001231 color
The hex color #001231 is a very dark, vivid azure.
In the RGB color model it is made of 0% red, 7.1% green and 19.2% blue (0, 18, 49).
Its hue angle is 218°, with 100% saturation and 10% lightness. For print, the CMYK equivalent is 100% cyan, 63% magenta, 0% yellow and 81% black.
The closest named color is Squid’s Ink (#041330), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.57:1).
#001231 color codes
| HEX | #001231 | |
|---|---|---|
| RGB | rgb(0, 18, 49) | |
| RGB percent | rgb(0%, 7.1%, 19.2%) | |
| HSL | hsl(218, 100%, 10%) | |
| HSV / HSB | hsv(218, 100%, 19%) | |
| CMYK | cmyk(100%, 63%, 0%, 81%) | |
| CIE LAB | lab(5.91, 6.09, -22.57) | |
| CIE LCH | lch(5.91, 23.38, 285.1) | |
| CIE XYZ | xyz(0.77, 0.654, 2.991) | |
| Decimal | 4657 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001231, 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 #001231 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.57:1 | Pass | Pass | Pass |
| #001231 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.57:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #001231 looks to people with the most common types of color vision deficiency.
#001632Protanopia
no red cones#001130Deuteranopia
no green cones#001a1fTritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #001231; }
.text { color: #001231; }
.border { border: 2px solid #001231; }
.transparent { background-color: rgb(0 18 49 / 50%); }
.gradient { background: linear-gradient(to right, #001231, #070031); }
Similar colors
#041330Squid’s Ink#060929Mysterious Depths#050d25Void#011c39Naval Night#071037Infinite Night#00022eIllicit Darkness#161d3bNightwalker#001f3fMidnight Mirage
Closest common color name: Oxford Blue.
Questions
- What color is #001231?
- #001231 is a very dark, vivid azure, closest to the named color Squid’s Ink. It belongs to the black family of colors.
- What is the RGB value of #001231?
- The RGB value is 0, 18, 49: 0 red, 18 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #001231?
- The complementary color is #311F00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001231?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.57:1. WCAG asks for at least 4.5:1 for normal text.