Hex Color #302FBB - Custom Color

Color Codes

HEX
#302FBB
RGB
rgb(48, 47, 187)
HSL
hsl(240, 60%, 46%)
CMYK
cmyk(74%, 75%, 0%, 27%)
HSV
hsv(240, 75%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 9.33:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 2.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: #302FBB;
color: #302FBB;
border-color: #302FBB;
}

Tailwind CSS (with arbitrary values)

bg-[#302FBB]
text-[#302FBB]
border-[#302FBB]
// Example usage:
<div className="bg-[#302FBB]">