Recognised as Colour
#30226C
- #30226C
- Blue
- Dark
- Nearest: Midnight blue
#30226C is a blue with RGB values 48, 34, 108 and HSL 251°, 52%, 28%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#30226C#30226C
HEX#30226C
RGBrgb(48, 34, 108)
RGB (0–1)0.1882, 0.1333, 0.4235
RGB percentages18.8%, 13.3%, 42.4%
HSLhsl(251.4, 52.1%, 27.8%)
HSV / HSBhsv(251.4, 68.5%, 42.4%)
CMYK55.6%, 68.5%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,154,540
CSS custom property--colour: #30226C;
Brightness & contrast
Relative luminance0.02855WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.37:1
Contrast with white13.37:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#CFDD93
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.37:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E6C22
Analogous#22396C, #55226C
Triadic#6C3022, #226C30
Split complementary#6C5522, #396C22
Tetradic#6C2239, #5E6C22, #226C55
Tints, shades & saturation
Channel breakdown
R48
G34
B108
Red48 (18.8%)
Green34 (13.3%)
Blue108 (42.4%)
Hue251.35°
Saturation (HSL)52.11%
Lightness27.84%
Dominant channelBlue
Hex per channelR 30 · G 22 · B 6C
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