Recognised as Colour
#12277D
- #12277D
- Blue
- Dark
- Nearest: Midnight blue
#12277D is a blue with RGB values 18, 39, 125 and HSL 228°, 75%, 28%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12277D#12277D
HEX#12277D
RGBrgb(18, 39, 125)
RGB (0–1)0.0706, 0.1529, 0.4902
RGB percentages7.1%, 15.3%, 49%
HSLhsl(228.2, 74.8%, 28%)
HSV / HSBhsv(228.2, 85.6%, 49%)
CMYK85.6%, 68.8%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,189,757
CSS custom property--colour: #12277D;
Brightness & contrast
Relative luminance0.0306WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.03:1
Contrast with white13.03:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#EDD882
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.03:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7D6812
Analogous#125C7D, #33127D
Triadic#7D1227, #277D12
Split complementary#7D3212, #5D7D12
Tetradic#7D125C, #7D6812, #127D32
Tints, shades & saturation
Channel breakdown
R18
G39
B125
Red18 (7.1%)
Green39 (15.3%)
Blue125 (49%)
Hue228.22°
Saturation (HSL)74.83%
Lightness28.04%
Dominant channelBlue
Hex per channelR 12 · G 27 · 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