Hex Color #06638E - Custom Color
Color Codes
HEX
#06638E
RGB
rgb(6, 99, 142)
HSL
hsl(199, 92%, 29%)
CMYK
cmyk(96%, 30%, 0%, 44%)
HSV
hsv(199, 96%, 56%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.60:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.18: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: #06638E;
color: #06638E;
border-color: #06638E;
}
Tailwind CSS (with arbitrary values)
bg-[#06638E]
text-[#06638E]
border-[#06638E]
// Example usage:
<div className="bg-[#06638E]">