Hex Color #071A2E - Custom Color
Color Codes
HEX
#071A2E
RGB
rgb(7, 26, 46)
HSL
hsl(211, 74%, 10%)
CMYK
cmyk(85%, 43%, 0%, 82%)
HSV
hsv(211, 85%, 18%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 17.55:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.20:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #071A2E;
color: #071A2E;
border-color: #071A2E;
}
Tailwind CSS (with arbitrary values)
bg-[#071A2E]
text-[#071A2E]
border-[#071A2E]
// Example usage:
<div className="bg-[#071A2E]">