Hex Color #306264 - Custom Color
Color Codes
HEX
#306264
RGB
rgb(48, 98, 100)
HSL
hsl(182, 35%, 29%)
CMYK
cmyk(52%, 2%, 0%, 61%)
HSV
hsv(182, 52%, 39%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.06: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: #306264;
color: #306264;
border-color: #306264;
}
Tailwind CSS (with arbitrary values)
bg-[#306264]
text-[#306264]
border-[#306264]
// Example usage:
<div className="bg-[#306264]">