Recognised as Colour
#304A7F
- #304A7F
- Blue
- Dark
- Nearest: Dark slateblue
#304A7F is a blue with RGB values 48, 74, 127 and HSL 220°, 45%, 34%. It is a dark colour, so white text on it reaches 8.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#304A7F#304A7F
HEX#304A7F
RGBrgb(48, 74, 127)
RGB (0–1)0.1882, 0.2902, 0.498
RGB percentages18.8%, 29%, 49.8%
HSLhsl(220.3, 45.1%, 34.3%)
HSV / HSBhsv(220.3, 62.2%, 49.8%)
CMYK62.2%, 41.7%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,164,799
CSS custom property--colour: #304A7F;
Brightness & contrast
Relative luminance0.07058WCAG 2.x, 0 is black and 1 is white
Perceived brightness75.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.71:1
Contrast with white8.71:1WCAG normal text: AAA
Contrast with black2.41:1WCAG normal text: Fail
Greyscale equivalent#484848
Inverted#CFB580
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text8.71:1WCAG large text: AAA
Contrast with black, large text2.41:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F6530
Analogous#30727F, #3E307F
Triadic#7F304A, #4A7F30
Split complementary#7F3D30, #727F30
Tetradic#7F3072, #7F6530, #307F3E
Tints, shades & saturation
Channel breakdown
R48
G74
B127
Red48 (18.8%)
Green74 (29%)
Blue127 (49.8%)
Hue220.25°
Saturation (HSL)45.14%
Lightness34.31%
Dominant channelBlue
Hex per channelR 30 · G 4A · B 7F
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