Recognised as Colour
#30217F
- #30217F
- Blue
- Dark
- Nearest: Midnight blue
#30217F is a blue with RGB values 48, 33, 127 and HSL 250°, 59%, 31%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#30217F#30217F
HEX#30217F
RGBrgb(48, 33, 127)
RGB (0–1)0.1882, 0.1294, 0.498
RGB percentages18.8%, 12.9%, 49.8%
HSLhsl(249.6, 58.8%, 31.4%)
HSV / HSBhsv(249.6, 74%, 49.8%)
CMYK62.2%, 74%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,154,303
CSS custom property--colour: #30217F;
Brightness & contrast
Relative luminance0.03248WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.73:1
Contrast with white12.73:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#CFDE80
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.73:1WCAG large text: AAA
Contrast with black, large text1.65:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#707F21
Analogous#21417F, #5F217F
Triadic#7F3021, #217F30
Split complementary#7F5F21, #417F21
Tetradic#7F2141, #707F21, #217F5F
Tints, shades & saturation
Channel breakdown
R48
G33
B127
Red48 (18.8%)
Green33 (12.9%)
Blue127 (49.8%)
Hue249.57°
Saturation (HSL)58.75%
Lightness31.37%
Dominant channelBlue
Hex per channelR 30 · G 21 · 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