Hex Color #0648DD - Custom Color

Color Codes

HEX
#0648DD
RGB
rgb(6, 72, 221)
HSL
hsl(222, 95%, 45%)
CMYK
cmyk(97%, 67%, 0%, 13%)
HSV
hsv(222, 97%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.98: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: #0648DD;
color: #0648DD;
border-color: #0648DD;
}

Tailwind CSS (with arbitrary values)

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