#271B98 Hex Code
Blue Color Codes
#271B98
Click to copy
Color Information
Name:Blue
Luminance:0.035
Web Safe:No
Background Preview
Sample Text
#271B98 as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#271B98
Hexadecimal color code
RGB
rgb(39, 27, 152)
Red, Green, Blue values (0-255)
HSL
hsl(246, 70%, 35%)
Hue, Saturation, Lightness
HSV
hsv(246, 82%, 60%)
Hue, Saturation, Value
CMYK
cmyk(74%, 82%, 0%, 40%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(21.88, 45.27, -64.85)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAAA
Aa
Ratio: 12.38:1100/100
Black Backgroundfail
Aa
Ratio: 1.70:128/100
Gray Backgroundfail
Aa
Ratio: 3.13: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