Recognised as Colour
#2A2283
- #2A2283
- Blue
- Dark
- Nearest: Midnight blue
#2A2283 is a blue with RGB values 42, 34, 131 and HSL 245°, 59%, 32%. 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
#2A2283#2A2283
HEX#2A2283
RGBrgb(42, 34, 131)
RGB (0–1)0.1647, 0.1333, 0.5137
RGB percentages16.5%, 13.3%, 51.4%
HSLhsl(244.9, 58.8%, 32.4%)
HSV / HSBhsv(244.9, 74%, 51.4%)
CMYK67.9%, 74%, 0%, 48.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,761,347
CSS custom property--colour: #2A2283;
Brightness & contrast
Relative luminance0.03275WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.69:1
Contrast with white12.69:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#D5DD7C
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.69: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#7B8322
Analogous#224B83, #5A2283
Triadic#832A22, #22832A
Split complementary#835A22, #4B8322
Tetradic#83224B, #7B8322, #22835A
Tints, shades & saturation
Channel breakdown
R42
G34
B131
Red42 (16.5%)
Green34 (13.3%)
Blue131 (51.4%)
Hue244.95°
Saturation (HSL)58.79%
Lightness32.35%
Dominant channelBlue
Hex per channelR 2A · G 22 · B 83
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