Recognised as Colour
#301F88
- #301F88
- Blue
- Dark
- Nearest: Midnight blue
#301F88 is a blue with RGB values 48, 31, 136 and HSL 250°, 63%, 33%. It is a dark colour, so white text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#301F88#301F88
HEX#301F88
RGBrgb(48, 31, 136)
RGB (0–1)0.1882, 0.1216, 0.5333
RGB percentages18.8%, 12.2%, 53.3%
HSLhsl(249.7, 62.9%, 32.7%)
HSV / HSBhsv(249.7, 77.2%, 53.3%)
CMYK64.7%, 77.2%, 0%, 46.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,153,800
CSS custom property--colour: #301F88;
Brightness & contrast
Relative luminance0.03386WCAG 2.x, 0 is black and 1 is white
Perceived brightness58 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.52:1
Contrast with white12.52:1WCAG normal text: AAA
Contrast with black1.68:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#CFE077
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.52:1WCAG large text: AAA
Contrast with black, large text1.68:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#77881F
Analogous#1F4288, #651F88
Triadic#88301F, #1F8830
Split complementary#88641F, #42881F
Tetradic#881F42, #77881F, #1F8865
Tints, shades & saturation
Channel breakdown
R48
G31
B136
Red48 (18.8%)
Green31 (12.2%)
Blue136 (53.3%)
Hue249.71°
Saturation (HSL)62.87%
Lightness32.75%
Dominant channelBlue
Hex per channelR 30 · G 1F · B 88
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