Hex Color #102390 - Custom Color
Color Codes
HEX
#102390
RGB
rgb(16, 35, 144)
HSL
hsl(231, 80%, 31%)
CMYK
cmyk(89%, 76%, 0%, 44%)
HSV
hsv(231, 89%, 56%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 12.61:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.67: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: #102390;
color: #102390;
border-color: #102390;
}
Tailwind CSS (with arbitrary values)
bg-[#102390]
text-[#102390]
border-[#102390]
// Example usage:
<div className="bg-[#102390]">