Hex Color #0465FA - Custom Color
Color Codes
HEX
#0465FA
RGB
rgb(4, 101, 250)
HSL
hsl(216, 97%, 50%)
CMYK
cmyk(98%, 60%, 0%, 2%)
HSV
hsv(216, 98%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.94:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.25: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: #0465FA;
color: #0465FA;
border-color: #0465FA;
}
Tailwind CSS (with arbitrary values)
bg-[#0465FA]
text-[#0465FA]
border-[#0465FA]
// Example usage:
<div className="bg-[#0465FA]">