Recognised as Colour
#1F4787
- #1F4787
- Blue
- Dark
- Nearest: Dark slateblue
#1F4787 is a blue with RGB values 31, 71, 135 and HSL 217°, 63%, 33%. It is a dark colour, so white text on it reaches 9.1:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#1F4787#1F4787
HEX#1F4787
RGBrgb(31, 71, 135)
RGB (0–1)0.1216, 0.2784, 0.5294
RGB percentages12.2%, 27.8%, 52.9%
HSLhsl(216.9, 62.7%, 32.5%)
HSV / HSBhsv(216.9, 77%, 52.9%)
CMYK77%, 47.4%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,049,927
CSS custom property--colour: #1F4787;
Brightness & contrast
Relative luminance0.06547WCAG 2.x, 0 is black and 1 is white
Perceived brightness73 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.09:1
Contrast with white9.09:1WCAG normal text: AAA
Contrast with black2.31:1WCAG normal text: Fail
Greyscale equivalent#434343
Inverted#E0B878
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text9.09:1WCAG large text: AAA
Contrast with black, large text2.31:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#875F1F
Analogous#1F7B87, #2B1F87
Triadic#871F47, #47871F
Split complementary#872B1F, #7B871F
Tetradic#871F7B, #875F1F, #1F872B
Tints, shades & saturation
Channel breakdown
R31
G71
B135
Red31 (12.2%)
Green71 (27.8%)
Blue135 (52.9%)
Hue216.92°
Saturation (HSL)62.65%
Lightness32.55%
Dominant channelBlue
Hex per channelR 1F · G 47 · B 87
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page