Recognised as Colour
#22126D
- #22126D
- Blue
- Dark
- Nearest: Midnight blue
#22126D is a blue with RGB values 34, 18, 109 and HSL 251°, 72%, 25%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#22126D#22126D
HEX#22126D
RGBrgb(34, 18, 109)
RGB (0–1)0.1333, 0.0706, 0.4275
RGB percentages13.3%, 7.1%, 42.7%
HSLhsl(250.5, 71.7%, 24.9%)
HSV / HSBhsv(250.5, 83.5%, 42.7%)
CMYK68.8%, 83.5%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,232,941
CSS custom property--colour: #22126D;
Brightness & contrast
Relative luminance0.01877WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.27:1
Contrast with white15.27:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#DDED92
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.27:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5D6D12
Analogous#12306D, #4F126D
Triadic#6D2212, #126D22
Split complementary#6D5012, #2F6D12
Tetradic#6D1230, #5D6D12, #126D4F
Tints, shades & saturation
Channel breakdown
R34
G18
B109
Red34 (13.3%)
Green18 (7.1%)
Blue109 (42.7%)
Hue250.55°
Saturation (HSL)71.65%
Lightness24.9%
Dominant channelBlue
Hex per channelR 22 · G 12 · B 6D
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