Recognised as Colour
#304FB5
- #304FB5
- Blue
- Dark
- Nearest: Royal blue
#304FB5 is a blue with RGB values 48, 79, 181 and HSL 226°, 58%, 45%. It is a dark colour, so white text on it reaches 7.2:1 contrast (AAA for normal text). The nearest named colour is Royal blue.
Colour values
#304FB5#304FB5
HEX#304FB5
RGBrgb(48, 79, 181)
RGB (0–1)0.1882, 0.3098, 0.7098
RGB percentages18.8%, 31%, 71%
HSLhsl(226, 58.1%, 44.9%)
HSV / HSBhsv(226, 73.5%, 71%)
CMYK73.5%, 56.4%, 0%, 29%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,166,133
CSS custom property--colour: #304FB5;
Brightness & contrast
Relative luminance0.09557WCAG 2.x, 0 is black and 1 is white
Perceived brightness89.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.21:1
Contrast with white7.21:1WCAG normal text: AAA
Contrast with black2.91:1WCAG normal text: Fail
Greyscale equivalent#505050
Inverted#CFB04A
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.21:1WCAG large text: AAA
Contrast with black, large text2.91:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B59630
Analogous#3091B5, #5330B5
Triadic#B5304F, #4FB530
Split complementary#B55430, #92B530
Tetradic#B53092, #B59630, #30B554
Tints, shades & saturation
Channel breakdown
R48
G79
B181
Red48 (18.8%)
Green79 (31%)
Blue181 (71%)
Hue226.02°
Saturation (HSL)58.08%
Lightness44.9%
Dominant channelBlue
Hex per channelR 30 · G 4F · B B5
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