Recognised as Colour
#12003E
- #12003E
- Violet
- Dark
- Nearest: Midnight blue
#12003E is a violet with RGB values 18, 0, 62 and HSL 257°, 100%, 12%. It is a dark colour, so white text on it reaches 19.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12003E#12003E
HEX#12003E
RGBrgb(18, 0, 62)
RGB (0–1)0.0706, 0, 0.2431
RGB percentages7.1%, 0%, 24.3%
HSLhsl(257.4, 100%, 12.2%)
HSV / HSBhsv(257.4, 100%, 24.3%)
CMYK71%, 100%, 0%, 75.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,179,710
CSS custom property--colour: #12003E;
Brightness & contrast
Relative luminance0.00476WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.17:1
Contrast with white19.17:1WCAG normal text: AAA
Contrast with black1.1:1WCAG normal text: Fail
Greyscale equivalent#080808
Inverted#EDFFC1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.17:1WCAG large text: AAA
Contrast with black, large text1.1:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2C3E00
Analogous#000D3E, #31003E
Triadic#3E1200, #003E12
Split complementary#3E3100, #0D3E00
Tetradic#3E000D, #2C3E00, #003E31
Tints, shades & saturation
Channel breakdown
R18
G0
B62
Red18 (7.1%)
Green0 (0%)
Blue62 (24.3%)
Hue257.42°
Saturation (HSL)100%
Lightness12.16%
Dominant channelBlue
Hex per channelR 12 · G 00 · B 3E
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