Oxford by Night color: hex code #001B2E
Oxford by Night has the hex code #001B2E. It is a very dark, vivid azure.
In the RGB color model it is made of 0% red, 10.6% green and 18% blue (0, 27, 46).
Its hue angle is 205°, with 100% saturation and 9% lightness. For print, the CMYK equivalent is 100% cyan, 41% magenta, 0% yellow and 82% black.
White text is the more readable choice on this background (contrast 17.56:1).
Oxford by Night (#001B2E) color codes
| HEX | #001B2E | |
|---|---|---|
| RGB | rgb(0, 27, 46) | |
| RGB percent | rgb(0%, 10.6%, 18%) | |
| HSL | hsl(205, 100%, 9%) | |
| HSV / HSB | hsv(205, 100%, 18%) | |
| CMYK | cmyk(100%, 41%, 0%, 82%) | |
| CIE LAB | lab(8.83, -1.85, -15.7) | |
| CIE LCH | lch(8.83, 15.81, 263.28) | |
| CIE XYZ | xyz(0.885, 0.981, 2.727) | |
| Decimal | 6958 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Oxford by Night, 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 #001B2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.56:1 | Pass | Pass | Pass |
| #001B2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.56:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #001B2E looks to people with the most common types of color vision deficiency.
#121c2fProtanopia
no red cones#0b172eDeuteranopia
no green cones#002022Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #001b2e; }
.text { color: #001b2e; }
.border { border: 2px solid #001b2e; }
.transparent { background-color: rgb(0 27 46 / 50%); }
.gradient { background: linear-gradient(to right, #001b2e, #00042e); }
Similar colors
#102030The Count’s Black#002233Midnight Dreams#0e1d32Trapped Darkness#011c39Naval Night#1b2431Dark#001f3fMidnight Mirage#0c121bMidnight Edition#1e2433Moonless Mystery
Closest common color name: Oxford Blue.
See #001B2E on its hex code page
Questions
- What color is #001B2E?
- #001B2E is a very dark, vivid azure known as Oxford by Night. It belongs to the black family of colors.
- What is the RGB value of Oxford by Night?
- The RGB value is 0, 27, 46: 0 red, 27 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of Oxford by Night?
- The complementary color is #2E1300, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001B2E?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.56:1. WCAG asks for at least 4.5:1 for normal text.