#31159D Hex Code
Blue Color Codes
#31159D
Click to copy
Color Information
Name:Blue
Luminance:0.036
Web Safe:No
Background Preview
Sample Text
#31159D as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#31159D
Hexadecimal color code
RGB
rgb(49, 21, 157)
Red, Green, Blue values (0-255)
HSL
hsl(252, 76%, 35%)
Hue, Saturation, Lightness
HSV
hsv(252, 87%, 62%)
Hue, Saturation, Value
CMYK
cmyk(69%, 87%, 0%, 38%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(22.39, 50.15, -67.06)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAAA
Aa
Ratio: 12.18:1100/100
Black Backgroundfail
Aa
Ratio: 1.72:129/100
Gray Backgroundfail
Aa
Ratio: 3.08:150/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