Recognised as Colour
#2B227D
- #2B227D
- Blue
- Dark
- Nearest: Midnight blue
#2B227D is a blue with RGB values 43, 34, 125 and HSL 246°, 57%, 31%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2B227D#2B227D
HEX#2B227D
RGBrgb(43, 34, 125)
RGB (0–1)0.1686, 0.1333, 0.4902
RGB percentages16.9%, 13.3%, 49%
HSLhsl(245.9, 57.2%, 31.2%)
HSV / HSBhsv(245.9, 72.8%, 49%)
CMYK65.6%, 72.8%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,826,877
CSS custom property--colour: #2B227D;
Brightness & contrast
Relative luminance0.03138WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.9:1
Contrast with white12.9:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#D4DD82
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.9:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#747D22
Analogous#22467D, #59227D
Triadic#7D2B22, #227D2B
Split complementary#7D5822, #477D22
Tetradic#7D2246, #747D22, #227D59
Tints, shades & saturation
Channel breakdown
R43
G34
B125
Red43 (16.9%)
Green34 (13.3%)
Blue125 (49%)
Hue245.93°
Saturation (HSL)57.23%
Lightness31.18%
Dominant channelBlue
Hex per channelR 2B · G 22 · B 7D
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