#2F339D Hex Code
Blue Color Codes
#2F339D
Click to copy
Color Information
Name:Blue
Luminance:0.054
Web Safe:No
Background Preview
Sample Text
#2F339D as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#2F339D
Hexadecimal color code
RGB
rgb(47, 51, 157)
Red, Green, Blue values (0-255)
HSL
hsl(238, 54%, 40%)
Hue, Saturation, Lightness
HSV
hsv(238, 70%, 62%)
Hue, Saturation, Value
CMYK
cmyk(70%, 68%, 0%, 38%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(27.86, 34.02, -58.03)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAAA
Aa
Ratio: 10.09:1100/100
Black Backgroundfail
Aa
Ratio: 2.08:135/100
Gray Backgroundfail
Aa
Ratio: 2.55:143/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