Nerdulator> put something in

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

Protanopia#003580no red cones; affects about 1% of men; ΔE 16.7 from the original
Deuteranopia#002E7Bno green cones; the most common form, about 1% of men; ΔE 13.4 from the original
Tritanopia#003B4Dno blue cones; rare, and affects men and women equally; ΔE 54.8 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 4.91, a close match
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

Lighter +40%#948BE0
Lighter +30%#6F63D5
Lighter +20%#493BCA
Lighter +10%#392DA5
Darker −10%#1D1755
Darker −20%#0F0C2D
Darker −30%#020105
Darker −40%#000000
More saturated +25%#1B0E91
Less saturated −25%#3B3669

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “2b227d” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.