Hex Color #002DEC - Custom Color

Color Codes

HEX
#002DEC
RGB
rgb(0, 45, 236)
HSL
hsl(229, 100%, 46%)
CMYK
cmyk(100%, 81%, 0%, 7%)
HSV
hsv(229, 100%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.59: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: #002DEC;
color: #002DEC;
border-color: #002DEC;
}

Tailwind CSS (with arbitrary values)

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