#31389B Hex Code

Blue Color Codes

#31389B
Click to copy

Color Information

Name:Blue
Luminance:0.058
Web Safe:No

Background Preview

Sample Text
#31389B as text color

This shows how the color appears on different backgrounds

Color Formats

HEX

#31389B
Hexadecimal color code

RGB

rgb(49, 56, 155)
Red, Green, Blue values (0-255)

HSL

hsl(236, 52%, 40%)
Hue, Saturation, Lightness

HSV

hsv(236, 68%, 61%)
Hue, Saturation, Value

CMYK

cmyk(68%, 64%, 0%, 39%)
Cyan, Magenta, Yellow, Key (Black)

LAB

lab(29.03, 30.37, -54.91)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information

Contrast Ratios

White BackgroundAAA
Aa
Ratio: 9.68:1100/100
Black Backgroundfail
Aa
Ratio: 2.17:136/100
Gray Backgroundfail
Aa
Ratio: 2.45:141/100

WCAG Guidelines

AAAContrast ratio of 7:1 or higher (Enhanced)
AAContrast ratio of 4.5:1 or higher (Standard)
FAILContrast ratio below 4.5:1 (Not recommended)
Color Harmonies

Complementary

2 colors

Colors opposite on the color wheel

Triadic

3 colors

Three colors evenly spaced on the color wheel

Analogous

5 colors

Colors adjacent on the color wheel

Monochromatic

5 colors

Different shades of the same hue

Split Complementary

3 colors

Base color plus two colors adjacent to its complement