#312D6C Hex Code
Blue Color Codes
#312D6C
Click to copy
Color Information
Name:Blue
Luminance:0.036
Web Safe:No
Background Preview
Sample Text
#312D6C as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#312D6C
Hexadecimal color code
RGB
rgb(49, 45, 108)
Red, Green, Blue values (0-255)
HSL
hsl(244, 41%, 30%)
Hue, Saturation, Lightness
HSV
hsv(244, 58%, 42%)
Hue, Saturation, Value
CMYK
cmyk(55%, 58%, 0%, 58%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(22.35, 20.95, -36.31)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAAA
Aa
Ratio: 12.19:1100/100
Black Backgroundfail
Aa
Ratio: 1.72:129/100
Gray Backgroundfail
Aa
Ratio: 3.09: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