#021A2E Oxford by Night
#021A2E is a very dark, muted blue named Oxford by Night. In the RGB color model it is made of 0.8% red, 10.2% green and 18.0% blue (rgb(2, 26, 46)). Its HSL value is 207° hue, 92% saturation and 9% lightness, and in CMYK it is 96% cyan, 43% magenta, 0% yellow and 82% black. #021A2E is a cool color. White text reads best on it, with a contrast ratio of 17.65:1.
#021A2E color conversion
- HEX
- RGB
- HSL
- HSB / HSV
- HWB
- CMYK
- XYZ
- CIELAB
- CIELCh
- CIELUV
- OKLCH
Variations of #021A2E
Shades
Mixed with black: richer and darker.
Tints
Mixed with white: lighter and softer.
Tones
Mixed with gray: calmer and more muted.
Hues
The same lightness and chroma, rotated around the color wheel.
Temperatures
Cooler on the left, warmer on the right.
#021A2E color harmonies
Split complementary
The two hues next to the complement — contrast with less tension.
Open in generator →#021A2E for color-blind viewers (and dogs)
How #021A2E appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →
- Dog vision 97% similarHow dogs see it · simulated as #0A172E
- Protanopia 96% similar1.3% of men, 0.02% of women · simulated as #101B2F
- Protanomaly 97% similar1.3% of men, 0.02% of women · simulated as #0D1A2F
- Deuteranopia 97% similar1.2% of men, 0.01% of women · simulated as #0A172E
- Deuteranomaly 98% similar5% of men, 0.35% of women · simulated as #08182E
- Tritanopia 93% similar0.001% of men, 0.03% of women · simulated as #001F21
- Tritanomaly 97% similar0.0001% of men, 0.0001% of women · simulated as #001C29
- Achromatopsia 90% similar0.003% of men, 0.003% of women · simulated as #191919
- Achromatomaly 93% similar0.001% of men, 0.001% of women · simulated as #15191F
#021A2E contrast checker
Need another background? Pick any pair in the palette generator and open the contrast panel.
Colors similar to #021A2E
Palettes with #021A2E
- E3CDFFAD9E353771B3524400051C2FNeon Boneyard to Oxford by Night
- 00172DDC9546B26900DFF1FF823900Oxford by Night to Hazelnut Chocolate
- 0B1100001A34003D52254D51436975Memorial Black to Ocean’s Embrace
- 011C3400551CB6DEB5B84B60D5858DNaval Night to Peaches of Immortality
- 6DBB3B001E31FFCCA07B2E728B5B86Jubilant Meadow to Muted Purple
- 001E2E5C33003C6B8FBF7C4B70AEF7F6C29AOxford by Night to Shrimp Toast
#021A2E in CSS
/* Oxford by Night */
.color { color: #021A2E; }
.background { background-color: #021A2E; }
.border { border: 1px solid #021A2E; }
/* Other notations */
color: rgb(2 26 46);
color: hsl(207 92% 9%);
color: oklch(0.211 0.050 246.2);#021A2E FAQ
What color is #021A2E?
#021A2E is a very dark, muted blue. Its closest named color is Oxford by Night. It belongs to the blue color family and is a cool color.
What is the RGB value of #021A2E?
#021A2E is rgb(2, 26, 46) in RGB, hsl(207, 92%, 9%) in HSL and cmyk(96%, 43%, 0%, 82%) in CMYK.
What is the complementary color of #021A2E?
The complementary color of #021A2E is #2E1602, which sits opposite it on the color wheel.
Which text color works on #021A2E?
White text has the best contrast on #021A2E: 17.65:1, which meets the WCAG AA requirement of 4.5:1 for normal text.
Is #021A2E a warm or cool color?
#021A2E is a cool color.