Recognised as Colour
#12045B
- #12045B
- Blue
- Dark
- Nearest: Midnight blue
#12045B is a blue with RGB values 18, 4, 91 and HSL 250°, 92%, 19%. It is a dark colour, so white text on it reaches 17.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12045B#12045B
HEX#12045B
RGBrgb(18, 4, 91)
RGB (0–1)0.0706, 0.0157, 0.3569
RGB percentages7.1%, 1.6%, 35.7%
HSLhsl(249.7, 91.6%, 18.6%)
HSV / HSBhsv(249.7, 95.6%, 35.7%)
CMYK80.2%, 95.6%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,180,763
CSS custom property--colour: #12045B;
Brightness & contrast
Relative luminance0.00971WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.59:1
Contrast with white17.59:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#EDFBA4
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.59:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4D5B04
Analogous#04225B, #3D045B
Triadic#5B1204, #045B12
Split complementary#5B3D04, #225B04
Tetradic#5B0422, #4D5B04, #045B3D
Tints, shades & saturation
Channel breakdown
R18
G4
B91
Red18 (7.1%)
Green4 (1.6%)
Blue91 (35.7%)
Hue249.66°
Saturation (HSL)91.58%
Lightness18.63%
Dominant channelBlue
Hex per channelR 12 · G 04 · B 5B
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